Documentation
Cloud Provider Credentials
Cloud Provider Credentials
Cloud Provider Credentials store the authentication details Terraform uses to provision infrastructure on AWS, Azure, or GCP.
ℹ
Note: This feature must be enabled by your administrator.
Accessing Cloud Provider Credentials
- Click 'Cloud Provider Credentials' in the left sidebar
Supported Cloud Providers
- 1Amazon Web Services (AWS)
- Required fields:
- Access Key ID
- Secret Access Key
- Region (default region for operations)
- Optional:
- Session Token (for temporary credentials)
- IAM Role ARN (for cross-account access)
- 2Microsoft Azure
- Required fields:
- Subscription ID
- Tenant ID
- Client ID (Application ID)
- Client Secret
- Optional:
- Resource Group (default)
- 3Google Cloud Platform (GCP)
- Required fields:
- Project ID
- Service Account Key JSON (file content or path)
- Optional:
- Region and Zone defaults
Creating Cloud Provider Credentials
- 1Click 'Add Credentials'
- 2Select the cloud provider
- 3Enter a descriptive name (e.g., 'AWS Prod US-East')
- 4Fill in the required authentication fields
- 5Click 'Save'
Security Notes
- All credentials are encrypted at rest
- Credentials are never displayed in plain text after saving
- Only users with the appropriate permission can view or use credentials
- Credentials are injected into VS Containers as environment variables at runtime
Best Practices
- Create separate credentials for each environment (Dev, Staging, Prod)
- Use IAM roles with minimum required permissions (principle of least privilege)
- Rotate credentials regularly
- Never share credentials through chat or email — use the Credentials system
Assigning to Projects
- Cloud provider credentials are associated with projects during project creation or in project settings
- The assigned credentials are used when running Terraform operations in that project's workspaces