Look up access profile in project
Finds an access profile by its alias.
Finds an access profile by its alias.
bearerAuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID.
^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$alias*stringThe access profile's alias.
^[a-z][a-z0-9_]*(/[a-z0-9_]+)*$length <= 128OK
application/json- response
alias*stringShort name unique within its organization or project, such as github/kosem or gcp/preview_viewer.
availability*For an organization's access profile: projects it is shared with. Shared profiles materialize read-only project copies automatically.
config*Provider-specific ceiling scope for issued credentials.
connection*stringResource name of the backing connection.
createTime*stringWhen the access profile was created.
date-timedescription*stringWhat this access profile is for.
etag*stringOpaque revision tag for optimistic concurrency on updates.
name*stringResource name: organizations/{organization_id}/accessProfiles/{profile_id} or projects/{project_id}/accessProfiles/{profile_id}.
provider*stringProvider type, such as providers/github, providers/google-cloud or providers/aws.
source?stringFor a shared project copy: resource name of the organization access profile it mirrors.
state*stringWhether credentials can be issued through this profile.
"ACTIVE""NEEDS_ATTENTION"stateReason*stringWhy the profile needs attention.
updateTime*stringWhen the access profile was last updated.
date-timecurl -X GET 'https://api.kosem.ai/v1/projects/string/accessProfiles/lookup?alias=string'{
"alias": "string",
"availability": {
"allProjects": true,
"projects": [
"string"
]
},
"config": {
"property1": null,
"property2": null
},
"connection": "string",
"createTime": "2019-08-24T14:15:22Z",
"description": "string",
"etag": "string",
"name": "string",
"provider": "string",
"source": "string",
"state": "ACTIVE",
"stateReason": "string",
"updateTime": "2019-08-24T14:15:22Z"
}