terraform-provider-aviatrix icon indicating copy to clipboard operation
terraform-provider-aviatrix copied to clipboard

Add GCP and OCI file content authentication

Open 1solomonwakhungu opened this issue 1 year ago • 0 comments

What?

  • Add ability to pass the content of the credentials instead of local files for GCP and OCI auth.
  • Add additional parameters for the user to pass the credential content.

Why?

  • Users might need to store the credentials in a remote storage instead of their local machines, this feature would allow users to store their GCP and OCI credentials in a remote storage, but able to reference the content of the file credentials.
  • Adding the additional parameters allows the user to either pass the local file name or the content of the credentials file. If a user passes both the local file name and the content of the credentials, the content of the credentials file will take precedence and be used during authentication.

Testing

  • Tested passing the OCI credentials.
    • Screenshot 2023-11-12 at 10 05 31 PM
  • Tested passing the GCP credentials.
    • Screenshot 2023-11-13 at 12 41 01 AM
  • Tested passing no OCI and GCP credentials.
    • Screenshot 2023-11-13 at 1 25 47 AM

1solomonwakhungu avatar Nov 13 '23 06:11 1solomonwakhungu