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. (default: gcp_sts_delegate, example: gcp_sts_delegate)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_gcpstsdelegateselectregionList your Datadog-GCP STS delegate account configured in your Datadog account.
make_gcpstsdelegateexecregionCreate 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
regionstring(default: datadoghq.com)

SELECT examples

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

SELECT
id,
attributes,
type
FROM datadog.integrations.gcp_sts_delegate
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods

Create a Datadog GCP principal.

EXEC datadog.integrations.gcp_sts_delegate.make_gcpstsdelegate 
@region='{{ region }}' --required
;