Skip to main content

gcp_sts_delegate

Creates, updates, deletes, gets or lists a gcp_sts_delegate resource.

Overview​

Namegcp_sts_delegate
TypeResource
Iddatadog.integrations.gcp_sts_delegate

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the delegate service account. (example: ddgci-1a19n28hb1a812221893@datadog-gci-sts-us5-prod.iam.gserviceaccount.com)
attributesobjectYour delegate account attributes.
typestringThe type of account. (gcp_sts_delegate) (default: gcp_sts_delegate, example: gcp_sts_delegate)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_gcpstsdelegateselectList your Datadog-GCP STS delegate account configured in your Datadog account.
make_gcpstsdelegateexecCreate a Datadog GCP principal.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

SELECT examples​

List your Datadog-GCP STS delegate account configured in your Datadog account.

SELECT
id,
attributes,
type
FROM datadog.integrations.gcp_sts_delegate
;

Lifecycle Methods​

EXEC variables use wire (API) names.

Create a Datadog GCP principal.

EXEC datadog.integrations.gcp_sts_delegate.make_gcpstsdelegate
;