Skip to content

Retrieve a Cloud Account

Request

Admin roles:
  • access_user
  • reporting_user

Retrieves a Cloud Account for a Project

Security
bearerAuth
Path
team_namestringrequired

The name of your Team

project_namestringrequired

The Project name

cloud_providerstringrequired

The provider of the Cloud Account. Must be one of 'aws', 'gcp', or 'azure'

cloud_account_idstringrequired

The ID of the Cloud Account assigned by the cloud provider

curl -i -X GET \
  'https://app.scaleft.com/v1/teams/{team_name}/projects/{project_name}/cloud_provider/{cloud_provider}/accounts/{cloud_account_id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
account_detailsaws (object) or gce (object)required
One of:

The provider-specific account details

account_idstring, [ 1 .. 32 ] charactersrequired

The provider-specific account ID

client_idstring or null, <= 64 charactersread-onlyrequired

The Client ID used to authorize the EventBridge connection

client_secretstring or null, <= 128 charactersread-onlyrequired

The Client secret used to authorize the EventBridge connection

deleted_atstring, (date-time)read-onlyrequired

A timestamp indicating when the Cloud Account was deleted. null if not deleted.

descriptionstring or null, <= 64 characters

(Optional) The human-readable description of the Cloud Account

idstring, (regex)^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-...read-onlyrequired

The UUID of the Cloud Account

project_namestring, [ 1 .. 255 ] charactersread-onlyrequired

The name of the associated Project

providerstring, [ 1 .. 32 ] charactersrequired

A cloud provider. Possible values: aws or gce.

secret_last_rotatedstring, (date-time)read-onlyrequired

A timestamp indicating when the secret was last rotated. null if unrotated.

updated_atstring, (date-time)read-onlyrequired

A timestamp indicating when the Cloud Account was last updated

Response
{ "account_id": "123456789012", "description": "Dev AWS account", "id": "59c74d69-5d72-4c96-b051-f42df1aee388", "project_name": "the-sound-and-the-fury", "provider": "aws" }