Class: DatadogAPIClient::V2::TerraformCloudAuthPersonaMappingCreateAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/terraform_cloud_auth_persona_mapping_create_attributes.rb

Overview

Attributes for creating an HCP Terraform persona mapping.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#account_identifier ⇒ Object

Handle or email address of the Datadog user or service account that matching tokens authenticate as. Its permissions must not exceed the caller's.



25
26
27
# File 'lib/datadog_api_client/v2/models/terraform_cloud_auth_persona_mapping_create_attributes.rb', line 25

def 
  @account_identifier
end

#issuer_url ⇒ Object

HCP Terraform workload identity token issuer. Use https://app.terraform.io for HCP Terraform in the US or https://app.eu.terraform.io for HCP Terraform in Europe.



28
29
30
# File 'lib/datadog_api_client/v2/models/terraform_cloud_auth_persona_mapping_create_attributes.rb', line 28

def issuer_url
  @issuer_url
end

#sub_pattern ⇒ Object

Pattern matched against the sub claim of HCP Terraform workload identity tokens. Use organization:<org>:project:<project>:workspace:<workspace>:run_phase:<plan|apply> for workspace runs, or organization:<org>:module:<module>:operation:test_run for module test runs. Segments are HCP Terraform names, not IDs. Any segment except the organization can be * to match any value.



32
33
34
# File 'lib/datadog_api_client/v2/models/terraform_cloud_auth_persona_mapping_create_attributes.rb', line 32

def sub_pattern
  @sub_pattern
end