Documentation ¶
Index ¶
- type GetRegionalSecretCustomerManagedEncryption
- type GetRegionalSecretCustomerManagedEncryptionArgs
- func (GetRegionalSecretCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetRegionalSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretCustomerManagedEncryptionOutput() GetRegionalSecretCustomerManagedEncryptionOutput
- func (i GetRegionalSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionOutput
- type GetRegionalSecretCustomerManagedEncryptionArray
- func (GetRegionalSecretCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetRegionalSecretCustomerManagedEncryptionArray) ToGetRegionalSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretCustomerManagedEncryptionArrayOutput
- func (i GetRegionalSecretCustomerManagedEncryptionArray) ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionArrayOutput
- type GetRegionalSecretCustomerManagedEncryptionArrayInput
- type GetRegionalSecretCustomerManagedEncryptionArrayOutput
- func (GetRegionalSecretCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretCustomerManagedEncryptionOutput
- func (o GetRegionalSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretCustomerManagedEncryptionArrayOutput
- func (o GetRegionalSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionArrayOutput
- type GetRegionalSecretCustomerManagedEncryptionInput
- type GetRegionalSecretCustomerManagedEncryptionOutput
- func (GetRegionalSecretCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetRegionalSecretCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o GetRegionalSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretCustomerManagedEncryptionOutput() GetRegionalSecretCustomerManagedEncryptionOutput
- func (o GetRegionalSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionOutput
- type GetRegionalSecretRotation
- type GetRegionalSecretRotationArgs
- func (GetRegionalSecretRotationArgs) ElementType() reflect.Type
- func (i GetRegionalSecretRotationArgs) ToGetRegionalSecretRotationOutput() GetRegionalSecretRotationOutput
- func (i GetRegionalSecretRotationArgs) ToGetRegionalSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretRotationOutput
- type GetRegionalSecretRotationArray
- func (GetRegionalSecretRotationArray) ElementType() reflect.Type
- func (i GetRegionalSecretRotationArray) ToGetRegionalSecretRotationArrayOutput() GetRegionalSecretRotationArrayOutput
- func (i GetRegionalSecretRotationArray) ToGetRegionalSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretRotationArrayOutput
- type GetRegionalSecretRotationArrayInput
- type GetRegionalSecretRotationArrayOutput
- func (GetRegionalSecretRotationArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretRotationArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretRotationOutput
- func (o GetRegionalSecretRotationArrayOutput) ToGetRegionalSecretRotationArrayOutput() GetRegionalSecretRotationArrayOutput
- func (o GetRegionalSecretRotationArrayOutput) ToGetRegionalSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretRotationArrayOutput
- type GetRegionalSecretRotationInput
- type GetRegionalSecretRotationOutput
- func (GetRegionalSecretRotationOutput) ElementType() reflect.Type
- func (o GetRegionalSecretRotationOutput) NextRotationTime() pulumi.StringOutput
- func (o GetRegionalSecretRotationOutput) RotationPeriod() pulumi.StringOutput
- func (o GetRegionalSecretRotationOutput) ToGetRegionalSecretRotationOutput() GetRegionalSecretRotationOutput
- func (o GetRegionalSecretRotationOutput) ToGetRegionalSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretRotationOutput
- type GetRegionalSecretTopic
- type GetRegionalSecretTopicArgs
- type GetRegionalSecretTopicArray
- func (GetRegionalSecretTopicArray) ElementType() reflect.Type
- func (i GetRegionalSecretTopicArray) ToGetRegionalSecretTopicArrayOutput() GetRegionalSecretTopicArrayOutput
- func (i GetRegionalSecretTopicArray) ToGetRegionalSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretTopicArrayOutput
- type GetRegionalSecretTopicArrayInput
- type GetRegionalSecretTopicArrayOutput
- func (GetRegionalSecretTopicArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretTopicArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretTopicOutput
- func (o GetRegionalSecretTopicArrayOutput) ToGetRegionalSecretTopicArrayOutput() GetRegionalSecretTopicArrayOutput
- func (o GetRegionalSecretTopicArrayOutput) ToGetRegionalSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretTopicArrayOutput
- type GetRegionalSecretTopicInput
- type GetRegionalSecretTopicOutput
- func (GetRegionalSecretTopicOutput) ElementType() reflect.Type
- func (o GetRegionalSecretTopicOutput) Name() pulumi.StringOutput
- func (o GetRegionalSecretTopicOutput) ToGetRegionalSecretTopicOutput() GetRegionalSecretTopicOutput
- func (o GetRegionalSecretTopicOutput) ToGetRegionalSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretTopicOutput
- type GetRegionalSecretVersionAccessArgs
- type GetRegionalSecretVersionAccessOutputArgs
- type GetRegionalSecretVersionAccessResult
- type GetRegionalSecretVersionAccessResultOutput
- func (GetRegionalSecretVersionAccessResultOutput) ElementType() reflect.Type
- func (o GetRegionalSecretVersionAccessResultOutput) Id() pulumi.StringOutput
- func (o GetRegionalSecretVersionAccessResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
- func (o GetRegionalSecretVersionAccessResultOutput) Location() pulumi.StringOutput
- func (o GetRegionalSecretVersionAccessResultOutput) Name() pulumi.StringOutput
- func (o GetRegionalSecretVersionAccessResultOutput) Project() pulumi.StringOutput
- func (o GetRegionalSecretVersionAccessResultOutput) Secret() pulumi.StringOutput
- func (o GetRegionalSecretVersionAccessResultOutput) SecretData() pulumi.StringOutput
- func (o GetRegionalSecretVersionAccessResultOutput) ToGetRegionalSecretVersionAccessResultOutput() GetRegionalSecretVersionAccessResultOutput
- func (o GetRegionalSecretVersionAccessResultOutput) ToGetRegionalSecretVersionAccessResultOutputWithContext(ctx context.Context) GetRegionalSecretVersionAccessResultOutput
- func (o GetRegionalSecretVersionAccessResultOutput) Version() pulumi.StringOutput
- type GetRegionalSecretVersionCustomerManagedEncryption
- type GetRegionalSecretVersionCustomerManagedEncryptionArgs
- func (GetRegionalSecretVersionCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetRegionalSecretVersionCustomerManagedEncryptionArgs) ToGetRegionalSecretVersionCustomerManagedEncryptionOutput() GetRegionalSecretVersionCustomerManagedEncryptionOutput
- func (i GetRegionalSecretVersionCustomerManagedEncryptionArgs) ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionOutput
- type GetRegionalSecretVersionCustomerManagedEncryptionArray
- func (GetRegionalSecretVersionCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetRegionalSecretVersionCustomerManagedEncryptionArray) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (i GetRegionalSecretVersionCustomerManagedEncryptionArray) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
- type GetRegionalSecretVersionCustomerManagedEncryptionArrayInput
- type GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretVersionCustomerManagedEncryptionOutput
- func (o GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (o GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
- type GetRegionalSecretVersionCustomerManagedEncryptionInput
- type GetRegionalSecretVersionCustomerManagedEncryptionOutput
- func (GetRegionalSecretVersionCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetRegionalSecretVersionCustomerManagedEncryptionOutput) KmsKeyVersionName() pulumi.StringOutput
- func (o GetRegionalSecretVersionCustomerManagedEncryptionOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionOutput() GetRegionalSecretVersionCustomerManagedEncryptionOutput
- func (o GetRegionalSecretVersionCustomerManagedEncryptionOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionOutput
- type GetRegionalSecretsArgs
- type GetRegionalSecretsOutputArgs
- type GetRegionalSecretsResult
- type GetRegionalSecretsResultOutput
- func (GetRegionalSecretsResultOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsResultOutput) Filter() pulumi.StringPtrOutput
- func (o GetRegionalSecretsResultOutput) Id() pulumi.StringOutput
- func (o GetRegionalSecretsResultOutput) Location() pulumi.StringOutput
- func (o GetRegionalSecretsResultOutput) Project() pulumi.StringOutput
- func (o GetRegionalSecretsResultOutput) Secrets() GetRegionalSecretsSecretArrayOutput
- func (o GetRegionalSecretsResultOutput) ToGetRegionalSecretsResultOutput() GetRegionalSecretsResultOutput
- func (o GetRegionalSecretsResultOutput) ToGetRegionalSecretsResultOutputWithContext(ctx context.Context) GetRegionalSecretsResultOutput
- type GetRegionalSecretsSecret
- type GetRegionalSecretsSecretArgs
- func (GetRegionalSecretsSecretArgs) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretArgs) ToGetRegionalSecretsSecretOutput() GetRegionalSecretsSecretOutput
- func (i GetRegionalSecretsSecretArgs) ToGetRegionalSecretsSecretOutputWithContext(ctx context.Context) GetRegionalSecretsSecretOutput
- type GetRegionalSecretsSecretArray
- func (GetRegionalSecretsSecretArray) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretArray) ToGetRegionalSecretsSecretArrayOutput() GetRegionalSecretsSecretArrayOutput
- func (i GetRegionalSecretsSecretArray) ToGetRegionalSecretsSecretArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretArrayOutput
- type GetRegionalSecretsSecretArrayInput
- type GetRegionalSecretsSecretArrayOutput
- func (GetRegionalSecretsSecretArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretsSecretOutput
- func (o GetRegionalSecretsSecretArrayOutput) ToGetRegionalSecretsSecretArrayOutput() GetRegionalSecretsSecretArrayOutput
- func (o GetRegionalSecretsSecretArrayOutput) ToGetRegionalSecretsSecretArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretArrayOutput
- type GetRegionalSecretsSecretCustomerManagedEncryption
- type GetRegionalSecretsSecretCustomerManagedEncryptionArgs
- func (GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput() GetRegionalSecretsSecretCustomerManagedEncryptionOutput
- func (i GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionOutput
- type GetRegionalSecretsSecretCustomerManagedEncryptionArray
- func (GetRegionalSecretsSecretCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretCustomerManagedEncryptionArray) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
- func (i GetRegionalSecretsSecretCustomerManagedEncryptionArray) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
- type GetRegionalSecretsSecretCustomerManagedEncryptionArrayInput
- type GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
- func (GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretsSecretCustomerManagedEncryptionOutput
- func (o GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
- func (o GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
- type GetRegionalSecretsSecretCustomerManagedEncryptionInput
- type GetRegionalSecretsSecretCustomerManagedEncryptionOutput
- func (GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput() GetRegionalSecretsSecretCustomerManagedEncryptionOutput
- func (o GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionOutput
- type GetRegionalSecretsSecretInput
- type GetRegionalSecretsSecretOutput
- func (o GetRegionalSecretsSecretOutput) Annotations() pulumi.StringMapOutput
- func (o GetRegionalSecretsSecretOutput) CreateTime() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) CustomerManagedEncryptions() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
- func (o GetRegionalSecretsSecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o GetRegionalSecretsSecretOutput) EffectiveLabels() pulumi.StringMapOutput
- func (GetRegionalSecretsSecretOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretOutput) ExpireTime() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) Labels() pulumi.StringMapOutput
- func (o GetRegionalSecretsSecretOutput) Location() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) Name() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) Project() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) PulumiLabels() pulumi.StringMapOutput
- func (o GetRegionalSecretsSecretOutput) Rotations() GetRegionalSecretsSecretRotationArrayOutput
- func (o GetRegionalSecretsSecretOutput) SecretId() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) ToGetRegionalSecretsSecretOutput() GetRegionalSecretsSecretOutput
- func (o GetRegionalSecretsSecretOutput) ToGetRegionalSecretsSecretOutputWithContext(ctx context.Context) GetRegionalSecretsSecretOutput
- func (o GetRegionalSecretsSecretOutput) Topics() GetRegionalSecretsSecretTopicArrayOutput
- func (o GetRegionalSecretsSecretOutput) Ttl() pulumi.StringOutput
- func (o GetRegionalSecretsSecretOutput) VersionAliases() pulumi.StringMapOutput
- func (o GetRegionalSecretsSecretOutput) VersionDestroyTtl() pulumi.StringOutput
- type GetRegionalSecretsSecretRotation
- type GetRegionalSecretsSecretRotationArgs
- func (GetRegionalSecretsSecretRotationArgs) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretRotationArgs) ToGetRegionalSecretsSecretRotationOutput() GetRegionalSecretsSecretRotationOutput
- func (i GetRegionalSecretsSecretRotationArgs) ToGetRegionalSecretsSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationOutput
- type GetRegionalSecretsSecretRotationArray
- func (GetRegionalSecretsSecretRotationArray) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretRotationArray) ToGetRegionalSecretsSecretRotationArrayOutput() GetRegionalSecretsSecretRotationArrayOutput
- func (i GetRegionalSecretsSecretRotationArray) ToGetRegionalSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationArrayOutput
- type GetRegionalSecretsSecretRotationArrayInput
- type GetRegionalSecretsSecretRotationArrayOutput
- func (GetRegionalSecretsSecretRotationArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretRotationArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretsSecretRotationOutput
- func (o GetRegionalSecretsSecretRotationArrayOutput) ToGetRegionalSecretsSecretRotationArrayOutput() GetRegionalSecretsSecretRotationArrayOutput
- func (o GetRegionalSecretsSecretRotationArrayOutput) ToGetRegionalSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationArrayOutput
- type GetRegionalSecretsSecretRotationInput
- type GetRegionalSecretsSecretRotationOutput
- func (GetRegionalSecretsSecretRotationOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretRotationOutput) NextRotationTime() pulumi.StringOutput
- func (o GetRegionalSecretsSecretRotationOutput) RotationPeriod() pulumi.StringOutput
- func (o GetRegionalSecretsSecretRotationOutput) ToGetRegionalSecretsSecretRotationOutput() GetRegionalSecretsSecretRotationOutput
- func (o GetRegionalSecretsSecretRotationOutput) ToGetRegionalSecretsSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationOutput
- type GetRegionalSecretsSecretTopic
- type GetRegionalSecretsSecretTopicArgs
- func (GetRegionalSecretsSecretTopicArgs) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretTopicArgs) ToGetRegionalSecretsSecretTopicOutput() GetRegionalSecretsSecretTopicOutput
- func (i GetRegionalSecretsSecretTopicArgs) ToGetRegionalSecretsSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicOutput
- type GetRegionalSecretsSecretTopicArray
- func (GetRegionalSecretsSecretTopicArray) ElementType() reflect.Type
- func (i GetRegionalSecretsSecretTopicArray) ToGetRegionalSecretsSecretTopicArrayOutput() GetRegionalSecretsSecretTopicArrayOutput
- func (i GetRegionalSecretsSecretTopicArray) ToGetRegionalSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicArrayOutput
- type GetRegionalSecretsSecretTopicArrayInput
- type GetRegionalSecretsSecretTopicArrayOutput
- func (GetRegionalSecretsSecretTopicArrayOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretTopicArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretsSecretTopicOutput
- func (o GetRegionalSecretsSecretTopicArrayOutput) ToGetRegionalSecretsSecretTopicArrayOutput() GetRegionalSecretsSecretTopicArrayOutput
- func (o GetRegionalSecretsSecretTopicArrayOutput) ToGetRegionalSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicArrayOutput
- type GetRegionalSecretsSecretTopicInput
- type GetRegionalSecretsSecretTopicOutput
- func (GetRegionalSecretsSecretTopicOutput) ElementType() reflect.Type
- func (o GetRegionalSecretsSecretTopicOutput) Name() pulumi.StringOutput
- func (o GetRegionalSecretsSecretTopicOutput) ToGetRegionalSecretsSecretTopicOutput() GetRegionalSecretsSecretTopicOutput
- func (o GetRegionalSecretsSecretTopicOutput) ToGetRegionalSecretsSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicOutput
- type GetSecretReplication
- type GetSecretReplicationArgs
- type GetSecretReplicationArray
- type GetSecretReplicationArrayInput
- type GetSecretReplicationArrayOutput
- func (GetSecretReplicationArrayOutput) ElementType() reflect.Type
- func (o GetSecretReplicationArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationOutput
- func (o GetSecretReplicationArrayOutput) ToGetSecretReplicationArrayOutput() GetSecretReplicationArrayOutput
- func (o GetSecretReplicationArrayOutput) ToGetSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretReplicationArrayOutput
- type GetSecretReplicationAuto
- type GetSecretReplicationAutoArgs
- func (GetSecretReplicationAutoArgs) ElementType() reflect.Type
- func (i GetSecretReplicationAutoArgs) ToGetSecretReplicationAutoOutput() GetSecretReplicationAutoOutput
- func (i GetSecretReplicationAutoArgs) ToGetSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretReplicationAutoOutput
- type GetSecretReplicationAutoArray
- func (GetSecretReplicationAutoArray) ElementType() reflect.Type
- func (i GetSecretReplicationAutoArray) ToGetSecretReplicationAutoArrayOutput() GetSecretReplicationAutoArrayOutput
- func (i GetSecretReplicationAutoArray) ToGetSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoArrayOutput
- type GetSecretReplicationAutoArrayInput
- type GetSecretReplicationAutoArrayOutput
- func (GetSecretReplicationAutoArrayOutput) ElementType() reflect.Type
- func (o GetSecretReplicationAutoArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationAutoOutput
- func (o GetSecretReplicationAutoArrayOutput) ToGetSecretReplicationAutoArrayOutput() GetSecretReplicationAutoArrayOutput
- func (o GetSecretReplicationAutoArrayOutput) ToGetSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoArrayOutput
- type GetSecretReplicationAutoCustomerManagedEncryption
- type GetSecretReplicationAutoCustomerManagedEncryptionArgs
- func (GetSecretReplicationAutoCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretReplicationAutoCustomerManagedEncryptionOutput
- func (i GetSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionOutput
- type GetSecretReplicationAutoCustomerManagedEncryptionArray
- func (GetSecretReplicationAutoCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (i GetSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- type GetSecretReplicationAutoCustomerManagedEncryptionArrayInput
- type GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationAutoCustomerManagedEncryptionOutput
- func (o GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (o GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- type GetSecretReplicationAutoCustomerManagedEncryptionInput
- type GetSecretReplicationAutoCustomerManagedEncryptionOutput
- func (GetSecretReplicationAutoCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetSecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o GetSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretReplicationAutoCustomerManagedEncryptionOutput
- func (o GetSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionOutput
- type GetSecretReplicationAutoInput
- type GetSecretReplicationAutoOutput
- func (o GetSecretReplicationAutoOutput) CustomerManagedEncryptions() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (GetSecretReplicationAutoOutput) ElementType() reflect.Type
- func (o GetSecretReplicationAutoOutput) ToGetSecretReplicationAutoOutput() GetSecretReplicationAutoOutput
- func (o GetSecretReplicationAutoOutput) ToGetSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretReplicationAutoOutput
- type GetSecretReplicationInput
- type GetSecretReplicationOutput
- func (o GetSecretReplicationOutput) Autos() GetSecretReplicationAutoArrayOutput
- func (GetSecretReplicationOutput) ElementType() reflect.Type
- func (o GetSecretReplicationOutput) ToGetSecretReplicationOutput() GetSecretReplicationOutput
- func (o GetSecretReplicationOutput) ToGetSecretReplicationOutputWithContext(ctx context.Context) GetSecretReplicationOutput
- func (o GetSecretReplicationOutput) UserManageds() GetSecretReplicationUserManagedArrayOutput
- type GetSecretReplicationUserManaged
- type GetSecretReplicationUserManagedArgs
- func (GetSecretReplicationUserManagedArgs) ElementType() reflect.Type
- func (i GetSecretReplicationUserManagedArgs) ToGetSecretReplicationUserManagedOutput() GetSecretReplicationUserManagedOutput
- func (i GetSecretReplicationUserManagedArgs) ToGetSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedOutput
- type GetSecretReplicationUserManagedArray
- func (GetSecretReplicationUserManagedArray) ElementType() reflect.Type
- func (i GetSecretReplicationUserManagedArray) ToGetSecretReplicationUserManagedArrayOutput() GetSecretReplicationUserManagedArrayOutput
- func (i GetSecretReplicationUserManagedArray) ToGetSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedArrayOutput
- type GetSecretReplicationUserManagedArrayInput
- type GetSecretReplicationUserManagedArrayOutput
- func (GetSecretReplicationUserManagedArrayOutput) ElementType() reflect.Type
- func (o GetSecretReplicationUserManagedArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationUserManagedOutput
- func (o GetSecretReplicationUserManagedArrayOutput) ToGetSecretReplicationUserManagedArrayOutput() GetSecretReplicationUserManagedArrayOutput
- func (o GetSecretReplicationUserManagedArrayOutput) ToGetSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedArrayOutput
- type GetSecretReplicationUserManagedInput
- type GetSecretReplicationUserManagedOutput
- func (GetSecretReplicationUserManagedOutput) ElementType() reflect.Type
- func (o GetSecretReplicationUserManagedOutput) Replicas() GetSecretReplicationUserManagedReplicaArrayOutput
- func (o GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutput() GetSecretReplicationUserManagedOutput
- func (o GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedOutput
- type GetSecretReplicationUserManagedReplica
- type GetSecretReplicationUserManagedReplicaArgs
- func (GetSecretReplicationUserManagedReplicaArgs) ElementType() reflect.Type
- func (i GetSecretReplicationUserManagedReplicaArgs) ToGetSecretReplicationUserManagedReplicaOutput() GetSecretReplicationUserManagedReplicaOutput
- func (i GetSecretReplicationUserManagedReplicaArgs) ToGetSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaOutput
- type GetSecretReplicationUserManagedReplicaArray
- func (GetSecretReplicationUserManagedReplicaArray) ElementType() reflect.Type
- func (i GetSecretReplicationUserManagedReplicaArray) ToGetSecretReplicationUserManagedReplicaArrayOutput() GetSecretReplicationUserManagedReplicaArrayOutput
- func (i GetSecretReplicationUserManagedReplicaArray) ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaArrayOutput
- type GetSecretReplicationUserManagedReplicaArrayInput
- type GetSecretReplicationUserManagedReplicaArrayOutput
- func (GetSecretReplicationUserManagedReplicaArrayOutput) ElementType() reflect.Type
- func (o GetSecretReplicationUserManagedReplicaArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationUserManagedReplicaOutput
- func (o GetSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretReplicationUserManagedReplicaArrayOutput() GetSecretReplicationUserManagedReplicaArrayOutput
- func (o GetSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaArrayOutput
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryption
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs
- func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray
- func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput
- type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- type GetSecretReplicationUserManagedReplicaInput
- type GetSecretReplicationUserManagedReplicaOutput
- func (o GetSecretReplicationUserManagedReplicaOutput) CustomerManagedEncryptions() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- func (GetSecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
- func (o GetSecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
- func (o GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutput() GetSecretReplicationUserManagedReplicaOutput
- func (o GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaOutput
- type GetSecretRotation
- type GetSecretRotationArgs
- type GetSecretRotationArray
- type GetSecretRotationArrayInput
- type GetSecretRotationArrayOutput
- func (GetSecretRotationArrayOutput) ElementType() reflect.Type
- func (o GetSecretRotationArrayOutput) Index(i pulumi.IntInput) GetSecretRotationOutput
- func (o GetSecretRotationArrayOutput) ToGetSecretRotationArrayOutput() GetSecretRotationArrayOutput
- func (o GetSecretRotationArrayOutput) ToGetSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretRotationArrayOutput
- type GetSecretRotationInput
- type GetSecretRotationOutput
- func (GetSecretRotationOutput) ElementType() reflect.Type
- func (o GetSecretRotationOutput) NextRotationTime() pulumi.StringOutput
- func (o GetSecretRotationOutput) RotationPeriod() pulumi.StringOutput
- func (o GetSecretRotationOutput) ToGetSecretRotationOutput() GetSecretRotationOutput
- func (o GetSecretRotationOutput) ToGetSecretRotationOutputWithContext(ctx context.Context) GetSecretRotationOutput
- type GetSecretTopic
- type GetSecretTopicArgs
- type GetSecretTopicArray
- type GetSecretTopicArrayInput
- type GetSecretTopicArrayOutput
- func (GetSecretTopicArrayOutput) ElementType() reflect.Type
- func (o GetSecretTopicArrayOutput) Index(i pulumi.IntInput) GetSecretTopicOutput
- func (o GetSecretTopicArrayOutput) ToGetSecretTopicArrayOutput() GetSecretTopicArrayOutput
- func (o GetSecretTopicArrayOutput) ToGetSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretTopicArrayOutput
- type GetSecretTopicInput
- type GetSecretTopicOutput
- type GetSecretVersionAccessArgs
- type GetSecretVersionAccessOutputArgs
- type GetSecretVersionAccessResult
- type GetSecretVersionAccessResultOutput
- func (GetSecretVersionAccessResultOutput) ElementType() reflect.Type
- func (o GetSecretVersionAccessResultOutput) Id() pulumi.StringOutput
- func (o GetSecretVersionAccessResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
- func (o GetSecretVersionAccessResultOutput) Name() pulumi.StringOutput
- func (o GetSecretVersionAccessResultOutput) Project() pulumi.StringOutput
- func (o GetSecretVersionAccessResultOutput) Secret() pulumi.StringOutput
- func (o GetSecretVersionAccessResultOutput) SecretData() pulumi.StringOutput
- func (o GetSecretVersionAccessResultOutput) ToGetSecretVersionAccessResultOutput() GetSecretVersionAccessResultOutput
- func (o GetSecretVersionAccessResultOutput) ToGetSecretVersionAccessResultOutputWithContext(ctx context.Context) GetSecretVersionAccessResultOutput
- func (o GetSecretVersionAccessResultOutput) Version() pulumi.StringOutput
- type GetSecretsArgs
- type GetSecretsOutputArgs
- type GetSecretsResult
- type GetSecretsResultOutput
- func (GetSecretsResultOutput) ElementType() reflect.Type
- func (o GetSecretsResultOutput) Filter() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretsResultOutput) Project() pulumi.StringOutput
- func (o GetSecretsResultOutput) Secrets() GetSecretsSecretArrayOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
- type GetSecretsSecret
- type GetSecretsSecretArgs
- type GetSecretsSecretArray
- type GetSecretsSecretArrayInput
- type GetSecretsSecretArrayOutput
- func (GetSecretsSecretArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretOutput
- func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
- func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
- type GetSecretsSecretInput
- type GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) Annotations() pulumi.StringMapOutput
- func (o GetSecretsSecretOutput) CreateTime() pulumi.StringOutput
- func (o GetSecretsSecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o GetSecretsSecretOutput) EffectiveLabels() pulumi.StringMapOutput
- func (GetSecretsSecretOutput) ElementType() reflect.Type
- func (o GetSecretsSecretOutput) ExpireTime() pulumi.StringOutput
- func (o GetSecretsSecretOutput) Labels() pulumi.StringMapOutput
- func (o GetSecretsSecretOutput) Name() pulumi.StringOutput
- func (o GetSecretsSecretOutput) Project() pulumi.StringOutput
- func (o GetSecretsSecretOutput) PulumiLabels() pulumi.StringMapOutput
- func (o GetSecretsSecretOutput) Replications() GetSecretsSecretReplicationArrayOutput
- func (o GetSecretsSecretOutput) Rotations() GetSecretsSecretRotationArrayOutput
- func (o GetSecretsSecretOutput) SecretId() pulumi.StringOutput
- func (o GetSecretsSecretOutput) ToGetSecretsSecretOutput() GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
- func (o GetSecretsSecretOutput) Topics() GetSecretsSecretTopicArrayOutput
- func (o GetSecretsSecretOutput) Ttl() pulumi.StringOutput
- func (o GetSecretsSecretOutput) VersionAliases() pulumi.StringMapOutput
- func (o GetSecretsSecretOutput) VersionDestroyTtl() pulumi.StringOutput
- type GetSecretsSecretReplication
- type GetSecretsSecretReplicationArgs
- func (GetSecretsSecretReplicationArgs) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationArgs) ToGetSecretsSecretReplicationOutput() GetSecretsSecretReplicationOutput
- func (i GetSecretsSecretReplicationArgs) ToGetSecretsSecretReplicationOutputWithContext(ctx context.Context) GetSecretsSecretReplicationOutput
- type GetSecretsSecretReplicationArray
- func (GetSecretsSecretReplicationArray) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationArray) ToGetSecretsSecretReplicationArrayOutput() GetSecretsSecretReplicationArrayOutput
- func (i GetSecretsSecretReplicationArray) ToGetSecretsSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationArrayOutput
- type GetSecretsSecretReplicationArrayInput
- type GetSecretsSecretReplicationArrayOutput
- func (GetSecretsSecretReplicationArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretReplicationOutput
- func (o GetSecretsSecretReplicationArrayOutput) ToGetSecretsSecretReplicationArrayOutput() GetSecretsSecretReplicationArrayOutput
- func (o GetSecretsSecretReplicationArrayOutput) ToGetSecretsSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationArrayOutput
- type GetSecretsSecretReplicationAuto
- type GetSecretsSecretReplicationAutoArgs
- func (GetSecretsSecretReplicationAutoArgs) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationAutoArgs) ToGetSecretsSecretReplicationAutoOutput() GetSecretsSecretReplicationAutoOutput
- func (i GetSecretsSecretReplicationAutoArgs) ToGetSecretsSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoOutput
- type GetSecretsSecretReplicationAutoArray
- func (GetSecretsSecretReplicationAutoArray) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationAutoArray) ToGetSecretsSecretReplicationAutoArrayOutput() GetSecretsSecretReplicationAutoArrayOutput
- func (i GetSecretsSecretReplicationAutoArray) ToGetSecretsSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoArrayOutput
- type GetSecretsSecretReplicationAutoArrayInput
- type GetSecretsSecretReplicationAutoArrayOutput
- func (GetSecretsSecretReplicationAutoArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationAutoArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretReplicationAutoOutput
- func (o GetSecretsSecretReplicationAutoArrayOutput) ToGetSecretsSecretReplicationAutoArrayOutput() GetSecretsSecretReplicationAutoArrayOutput
- func (o GetSecretsSecretReplicationAutoArrayOutput) ToGetSecretsSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoArrayOutput
- type GetSecretsSecretReplicationAutoCustomerManagedEncryption
- type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs
- func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
- func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
- type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray
- func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayInput
- type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
- func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- type GetSecretsSecretReplicationAutoCustomerManagedEncryptionInput
- type GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
- func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
- func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
- type GetSecretsSecretReplicationAutoInput
- type GetSecretsSecretReplicationAutoOutput
- func (o GetSecretsSecretReplicationAutoOutput) CustomerManagedEncryptions() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
- func (GetSecretsSecretReplicationAutoOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationAutoOutput) ToGetSecretsSecretReplicationAutoOutput() GetSecretsSecretReplicationAutoOutput
- func (o GetSecretsSecretReplicationAutoOutput) ToGetSecretsSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoOutput
- type GetSecretsSecretReplicationInput
- type GetSecretsSecretReplicationOutput
- func (o GetSecretsSecretReplicationOutput) Autos() GetSecretsSecretReplicationAutoArrayOutput
- func (GetSecretsSecretReplicationOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationOutput) ToGetSecretsSecretReplicationOutput() GetSecretsSecretReplicationOutput
- func (o GetSecretsSecretReplicationOutput) ToGetSecretsSecretReplicationOutputWithContext(ctx context.Context) GetSecretsSecretReplicationOutput
- func (o GetSecretsSecretReplicationOutput) UserManageds() GetSecretsSecretReplicationUserManagedArrayOutput
- type GetSecretsSecretReplicationUserManaged
- type GetSecretsSecretReplicationUserManagedArgs
- func (GetSecretsSecretReplicationUserManagedArgs) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationUserManagedArgs) ToGetSecretsSecretReplicationUserManagedOutput() GetSecretsSecretReplicationUserManagedOutput
- func (i GetSecretsSecretReplicationUserManagedArgs) ToGetSecretsSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedOutput
- type GetSecretsSecretReplicationUserManagedArray
- func (GetSecretsSecretReplicationUserManagedArray) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationUserManagedArray) ToGetSecretsSecretReplicationUserManagedArrayOutput() GetSecretsSecretReplicationUserManagedArrayOutput
- func (i GetSecretsSecretReplicationUserManagedArray) ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedArrayOutput
- type GetSecretsSecretReplicationUserManagedArrayInput
- type GetSecretsSecretReplicationUserManagedArrayOutput
- func (GetSecretsSecretReplicationUserManagedArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationUserManagedArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretReplicationUserManagedOutput
- func (o GetSecretsSecretReplicationUserManagedArrayOutput) ToGetSecretsSecretReplicationUserManagedArrayOutput() GetSecretsSecretReplicationUserManagedArrayOutput
- func (o GetSecretsSecretReplicationUserManagedArrayOutput) ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedArrayOutput
- type GetSecretsSecretReplicationUserManagedInput
- type GetSecretsSecretReplicationUserManagedOutput
- func (GetSecretsSecretReplicationUserManagedOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationUserManagedOutput) Replicas() GetSecretsSecretReplicationUserManagedReplicaArrayOutput
- func (o GetSecretsSecretReplicationUserManagedOutput) ToGetSecretsSecretReplicationUserManagedOutput() GetSecretsSecretReplicationUserManagedOutput
- func (o GetSecretsSecretReplicationUserManagedOutput) ToGetSecretsSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedOutput
- type GetSecretsSecretReplicationUserManagedReplica
- type GetSecretsSecretReplicationUserManagedReplicaArgs
- func (GetSecretsSecretReplicationUserManagedReplicaArgs) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationUserManagedReplicaArgs) ToGetSecretsSecretReplicationUserManagedReplicaOutput() GetSecretsSecretReplicationUserManagedReplicaOutput
- func (i GetSecretsSecretReplicationUserManagedReplicaArgs) ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaOutput
- type GetSecretsSecretReplicationUserManagedReplicaArray
- func (GetSecretsSecretReplicationUserManagedReplicaArray) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationUserManagedReplicaArray) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput() GetSecretsSecretReplicationUserManagedReplicaArrayOutput
- func (i GetSecretsSecretReplicationUserManagedReplicaArray) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaArrayOutput
- type GetSecretsSecretReplicationUserManagedReplicaArrayInput
- type GetSecretsSecretReplicationUserManagedReplicaArrayOutput
- func (GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationUserManagedReplicaArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretReplicationUserManagedReplicaOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput() GetSecretsSecretReplicationUserManagedReplicaArrayOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaArrayOutput
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryption
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs
- func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray
- func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() ...
- func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) ...
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
- func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() ...
- func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) ...
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput
- type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- type GetSecretsSecretReplicationUserManagedReplicaInput
- type GetSecretsSecretReplicationUserManagedReplicaOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaOutput) CustomerManagedEncryptions() ...
- func (GetSecretsSecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
- func (o GetSecretsSecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaOutput) ToGetSecretsSecretReplicationUserManagedReplicaOutput() GetSecretsSecretReplicationUserManagedReplicaOutput
- func (o GetSecretsSecretReplicationUserManagedReplicaOutput) ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaOutput
- type GetSecretsSecretRotation
- type GetSecretsSecretRotationArgs
- func (GetSecretsSecretRotationArgs) ElementType() reflect.Type
- func (i GetSecretsSecretRotationArgs) ToGetSecretsSecretRotationOutput() GetSecretsSecretRotationOutput
- func (i GetSecretsSecretRotationArgs) ToGetSecretsSecretRotationOutputWithContext(ctx context.Context) GetSecretsSecretRotationOutput
- type GetSecretsSecretRotationArray
- func (GetSecretsSecretRotationArray) ElementType() reflect.Type
- func (i GetSecretsSecretRotationArray) ToGetSecretsSecretRotationArrayOutput() GetSecretsSecretRotationArrayOutput
- func (i GetSecretsSecretRotationArray) ToGetSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretsSecretRotationArrayOutput
- type GetSecretsSecretRotationArrayInput
- type GetSecretsSecretRotationArrayOutput
- func (GetSecretsSecretRotationArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretRotationArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretRotationOutput
- func (o GetSecretsSecretRotationArrayOutput) ToGetSecretsSecretRotationArrayOutput() GetSecretsSecretRotationArrayOutput
- func (o GetSecretsSecretRotationArrayOutput) ToGetSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretsSecretRotationArrayOutput
- type GetSecretsSecretRotationInput
- type GetSecretsSecretRotationOutput
- func (GetSecretsSecretRotationOutput) ElementType() reflect.Type
- func (o GetSecretsSecretRotationOutput) NextRotationTime() pulumi.StringOutput
- func (o GetSecretsSecretRotationOutput) RotationPeriod() pulumi.StringOutput
- func (o GetSecretsSecretRotationOutput) ToGetSecretsSecretRotationOutput() GetSecretsSecretRotationOutput
- func (o GetSecretsSecretRotationOutput) ToGetSecretsSecretRotationOutputWithContext(ctx context.Context) GetSecretsSecretRotationOutput
- type GetSecretsSecretTopic
- type GetSecretsSecretTopicArgs
- type GetSecretsSecretTopicArray
- func (GetSecretsSecretTopicArray) ElementType() reflect.Type
- func (i GetSecretsSecretTopicArray) ToGetSecretsSecretTopicArrayOutput() GetSecretsSecretTopicArrayOutput
- func (i GetSecretsSecretTopicArray) ToGetSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretsSecretTopicArrayOutput
- type GetSecretsSecretTopicArrayInput
- type GetSecretsSecretTopicArrayOutput
- func (GetSecretsSecretTopicArrayOutput) ElementType() reflect.Type
- func (o GetSecretsSecretTopicArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretTopicOutput
- func (o GetSecretsSecretTopicArrayOutput) ToGetSecretsSecretTopicArrayOutput() GetSecretsSecretTopicArrayOutput
- func (o GetSecretsSecretTopicArrayOutput) ToGetSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretsSecretTopicArrayOutput
- type GetSecretsSecretTopicInput
- type GetSecretsSecretTopicOutput
- func (GetSecretsSecretTopicOutput) ElementType() reflect.Type
- func (o GetSecretsSecretTopicOutput) Name() pulumi.StringOutput
- func (o GetSecretsSecretTopicOutput) ToGetSecretsSecretTopicOutput() GetSecretsSecretTopicOutput
- func (o GetSecretsSecretTopicOutput) ToGetSecretsSecretTopicOutputWithContext(ctx context.Context) GetSecretsSecretTopicOutput
- type LookupRegionalSecretArgs
- type LookupRegionalSecretIamPolicyArgs
- type LookupRegionalSecretIamPolicyOutputArgs
- type LookupRegionalSecretIamPolicyResult
- type LookupRegionalSecretIamPolicyResultOutput
- func (LookupRegionalSecretIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRegionalSecretIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) SecretId() pulumi.StringOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) ToLookupRegionalSecretIamPolicyResultOutput() LookupRegionalSecretIamPolicyResultOutput
- func (o LookupRegionalSecretIamPolicyResultOutput) ToLookupRegionalSecretIamPolicyResultOutputWithContext(ctx context.Context) LookupRegionalSecretIamPolicyResultOutput
- type LookupRegionalSecretOutputArgs
- type LookupRegionalSecretResult
- type LookupRegionalSecretResultOutput
- func (o LookupRegionalSecretResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupRegionalSecretResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) CustomerManagedEncryptions() GetRegionalSecretCustomerManagedEncryptionArrayOutput
- func (o LookupRegionalSecretResultOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o LookupRegionalSecretResultOutput) EffectiveLabels() pulumi.StringMapOutput
- func (LookupRegionalSecretResultOutput) ElementType() reflect.Type
- func (o LookupRegionalSecretResultOutput) ExpireTime() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) Id() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupRegionalSecretResultOutput) Location() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) Name() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupRegionalSecretResultOutput) PulumiLabels() pulumi.StringMapOutput
- func (o LookupRegionalSecretResultOutput) Rotations() GetRegionalSecretRotationArrayOutput
- func (o LookupRegionalSecretResultOutput) SecretId() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) ToLookupRegionalSecretResultOutput() LookupRegionalSecretResultOutput
- func (o LookupRegionalSecretResultOutput) ToLookupRegionalSecretResultOutputWithContext(ctx context.Context) LookupRegionalSecretResultOutput
- func (o LookupRegionalSecretResultOutput) Topics() GetRegionalSecretTopicArrayOutput
- func (o LookupRegionalSecretResultOutput) Ttl() pulumi.StringOutput
- func (o LookupRegionalSecretResultOutput) VersionAliases() pulumi.StringMapOutput
- func (o LookupRegionalSecretResultOutput) VersionDestroyTtl() pulumi.StringOutput
- type LookupRegionalSecretVersionArgs
- type LookupRegionalSecretVersionOutputArgs
- type LookupRegionalSecretVersionResult
- type LookupRegionalSecretVersionResultOutput
- func (o LookupRegionalSecretVersionResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) CustomerManagedEncryptions() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (o LookupRegionalSecretVersionResultOutput) DestroyTime() pulumi.StringOutput
- func (LookupRegionalSecretVersionResultOutput) ElementType() reflect.Type
- func (o LookupRegionalSecretVersionResultOutput) Enabled() pulumi.BoolOutput
- func (o LookupRegionalSecretVersionResultOutput) Id() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
- func (o LookupRegionalSecretVersionResultOutput) Location() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) Name() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) Project() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) Secret() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) SecretData() pulumi.StringOutput
- func (o LookupRegionalSecretVersionResultOutput) ToLookupRegionalSecretVersionResultOutput() LookupRegionalSecretVersionResultOutput
- func (o LookupRegionalSecretVersionResultOutput) ToLookupRegionalSecretVersionResultOutputWithContext(ctx context.Context) LookupRegionalSecretVersionResultOutput
- func (o LookupRegionalSecretVersionResultOutput) Version() pulumi.StringOutput
- type LookupSecretArgs
- type LookupSecretIamPolicyArgs
- type LookupSecretIamPolicyOutputArgs
- type LookupSecretIamPolicyResult
- type LookupSecretIamPolicyResultOutput
- func (LookupSecretIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupSecretIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupSecretIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupSecretIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupSecretIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupSecretIamPolicyResultOutput) SecretId() pulumi.StringOutput
- func (o LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutput() LookupSecretIamPolicyResultOutput
- func (o LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutputWithContext(ctx context.Context) LookupSecretIamPolicyResultOutput
- type LookupSecretOutputArgs
- type LookupSecretResult
- type LookupSecretResultOutput
- func (o LookupSecretResultOutput) Annotations() pulumi.StringMapOutput
- func (o LookupSecretResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupSecretResultOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o LookupSecretResultOutput) EffectiveLabels() pulumi.StringMapOutput
- func (LookupSecretResultOutput) ElementType() reflect.Type
- func (o LookupSecretResultOutput) ExpireTime() pulumi.StringOutput
- func (o LookupSecretResultOutput) Id() pulumi.StringOutput
- func (o LookupSecretResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupSecretResultOutput) Name() pulumi.StringOutput
- func (o LookupSecretResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupSecretResultOutput) PulumiLabels() pulumi.StringMapOutput
- func (o LookupSecretResultOutput) Replications() GetSecretReplicationArrayOutput
- func (o LookupSecretResultOutput) Rotations() GetSecretRotationArrayOutput
- func (o LookupSecretResultOutput) SecretId() pulumi.StringOutput
- func (o LookupSecretResultOutput) ToLookupSecretResultOutput() LookupSecretResultOutput
- func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx context.Context) LookupSecretResultOutput
- func (o LookupSecretResultOutput) Topics() GetSecretTopicArrayOutput
- func (o LookupSecretResultOutput) Ttl() pulumi.StringOutput
- func (o LookupSecretResultOutput) VersionAliases() pulumi.StringMapOutput
- func (o LookupSecretResultOutput) VersionDestroyTtl() pulumi.StringOutput
- type LookupSecretVersionArgs
- type LookupSecretVersionOutputArgs
- type LookupSecretVersionResult
- type LookupSecretVersionResultOutput
- func (o LookupSecretVersionResultOutput) CreateTime() pulumi.StringOutput
- func (o LookupSecretVersionResultOutput) DestroyTime() pulumi.StringOutput
- func (LookupSecretVersionResultOutput) ElementType() reflect.Type
- func (o LookupSecretVersionResultOutput) Enabled() pulumi.BoolOutput
- func (o LookupSecretVersionResultOutput) Id() pulumi.StringOutput
- func (o LookupSecretVersionResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
- func (o LookupSecretVersionResultOutput) Name() pulumi.StringOutput
- func (o LookupSecretVersionResultOutput) Project() pulumi.StringOutput
- func (o LookupSecretVersionResultOutput) Secret() pulumi.StringOutput
- func (o LookupSecretVersionResultOutput) SecretData() pulumi.StringOutput
- func (o LookupSecretVersionResultOutput) ToLookupSecretVersionResultOutput() LookupSecretVersionResultOutput
- func (o LookupSecretVersionResultOutput) ToLookupSecretVersionResultOutputWithContext(ctx context.Context) LookupSecretVersionResultOutput
- func (o LookupSecretVersionResultOutput) Version() pulumi.StringOutput
- type RegionalSecret
- type RegionalSecretArgs
- type RegionalSecretArray
- type RegionalSecretArrayInput
- type RegionalSecretArrayOutput
- func (RegionalSecretArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretArrayOutput) Index(i pulumi.IntInput) RegionalSecretOutput
- func (o RegionalSecretArrayOutput) ToRegionalSecretArrayOutput() RegionalSecretArrayOutput
- func (o RegionalSecretArrayOutput) ToRegionalSecretArrayOutputWithContext(ctx context.Context) RegionalSecretArrayOutput
- type RegionalSecretCustomerManagedEncryption
- type RegionalSecretCustomerManagedEncryptionArgs
- func (RegionalSecretCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionOutput() RegionalSecretCustomerManagedEncryptionOutput
- func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionOutput
- func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput
- func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput
- type RegionalSecretCustomerManagedEncryptionInput
- type RegionalSecretCustomerManagedEncryptionOutput
- func (RegionalSecretCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o RegionalSecretCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionOutput() RegionalSecretCustomerManagedEncryptionOutput
- func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionOutput
- func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput
- func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput
- type RegionalSecretCustomerManagedEncryptionPtrInput
- type RegionalSecretCustomerManagedEncryptionPtrOutput
- func (o RegionalSecretCustomerManagedEncryptionPtrOutput) Elem() RegionalSecretCustomerManagedEncryptionOutput
- func (RegionalSecretCustomerManagedEncryptionPtrOutput) ElementType() reflect.Type
- func (o RegionalSecretCustomerManagedEncryptionPtrOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o RegionalSecretCustomerManagedEncryptionPtrOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput
- func (o RegionalSecretCustomerManagedEncryptionPtrOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput
- type RegionalSecretIamBinding
- type RegionalSecretIamBindingArgs
- type RegionalSecretIamBindingArray
- func (RegionalSecretIamBindingArray) ElementType() reflect.Type
- func (i RegionalSecretIamBindingArray) ToRegionalSecretIamBindingArrayOutput() RegionalSecretIamBindingArrayOutput
- func (i RegionalSecretIamBindingArray) ToRegionalSecretIamBindingArrayOutputWithContext(ctx context.Context) RegionalSecretIamBindingArrayOutput
- type RegionalSecretIamBindingArrayInput
- type RegionalSecretIamBindingArrayOutput
- func (RegionalSecretIamBindingArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretIamBindingArrayOutput) Index(i pulumi.IntInput) RegionalSecretIamBindingOutput
- func (o RegionalSecretIamBindingArrayOutput) ToRegionalSecretIamBindingArrayOutput() RegionalSecretIamBindingArrayOutput
- func (o RegionalSecretIamBindingArrayOutput) ToRegionalSecretIamBindingArrayOutputWithContext(ctx context.Context) RegionalSecretIamBindingArrayOutput
- type RegionalSecretIamBindingCondition
- type RegionalSecretIamBindingConditionArgs
- func (RegionalSecretIamBindingConditionArgs) ElementType() reflect.Type
- func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionOutput() RegionalSecretIamBindingConditionOutput
- func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionOutput
- func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput
- func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionPtrOutput
- type RegionalSecretIamBindingConditionInput
- type RegionalSecretIamBindingConditionOutput
- func (o RegionalSecretIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (RegionalSecretIamBindingConditionOutput) ElementType() reflect.Type
- func (o RegionalSecretIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o RegionalSecretIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionOutput() RegionalSecretIamBindingConditionOutput
- func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionOutput
- func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput
- func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionPtrOutput
- type RegionalSecretIamBindingConditionPtrInput
- type RegionalSecretIamBindingConditionPtrOutput
- func (o RegionalSecretIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RegionalSecretIamBindingConditionPtrOutput) Elem() RegionalSecretIamBindingConditionOutput
- func (RegionalSecretIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o RegionalSecretIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RegionalSecretIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RegionalSecretIamBindingConditionPtrOutput) ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput
- func (o RegionalSecretIamBindingConditionPtrOutput) ToRegionalSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionPtrOutput
- type RegionalSecretIamBindingInput
- type RegionalSecretIamBindingMap
- func (RegionalSecretIamBindingMap) ElementType() reflect.Type
- func (i RegionalSecretIamBindingMap) ToRegionalSecretIamBindingMapOutput() RegionalSecretIamBindingMapOutput
- func (i RegionalSecretIamBindingMap) ToRegionalSecretIamBindingMapOutputWithContext(ctx context.Context) RegionalSecretIamBindingMapOutput
- type RegionalSecretIamBindingMapInput
- type RegionalSecretIamBindingMapOutput
- func (RegionalSecretIamBindingMapOutput) ElementType() reflect.Type
- func (o RegionalSecretIamBindingMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretIamBindingOutput
- func (o RegionalSecretIamBindingMapOutput) ToRegionalSecretIamBindingMapOutput() RegionalSecretIamBindingMapOutput
- func (o RegionalSecretIamBindingMapOutput) ToRegionalSecretIamBindingMapOutputWithContext(ctx context.Context) RegionalSecretIamBindingMapOutput
- type RegionalSecretIamBindingOutput
- func (o RegionalSecretIamBindingOutput) Condition() RegionalSecretIamBindingConditionPtrOutput
- func (RegionalSecretIamBindingOutput) ElementType() reflect.Type
- func (o RegionalSecretIamBindingOutput) Etag() pulumi.StringOutput
- func (o RegionalSecretIamBindingOutput) Location() pulumi.StringOutput
- func (o RegionalSecretIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o RegionalSecretIamBindingOutput) Project() pulumi.StringOutput
- func (o RegionalSecretIamBindingOutput) Role() pulumi.StringOutput
- func (o RegionalSecretIamBindingOutput) SecretId() pulumi.StringOutput
- func (o RegionalSecretIamBindingOutput) ToRegionalSecretIamBindingOutput() RegionalSecretIamBindingOutput
- func (o RegionalSecretIamBindingOutput) ToRegionalSecretIamBindingOutputWithContext(ctx context.Context) RegionalSecretIamBindingOutput
- type RegionalSecretIamBindingState
- type RegionalSecretIamMember
- type RegionalSecretIamMemberArgs
- type RegionalSecretIamMemberArray
- func (RegionalSecretIamMemberArray) ElementType() reflect.Type
- func (i RegionalSecretIamMemberArray) ToRegionalSecretIamMemberArrayOutput() RegionalSecretIamMemberArrayOutput
- func (i RegionalSecretIamMemberArray) ToRegionalSecretIamMemberArrayOutputWithContext(ctx context.Context) RegionalSecretIamMemberArrayOutput
- type RegionalSecretIamMemberArrayInput
- type RegionalSecretIamMemberArrayOutput
- func (RegionalSecretIamMemberArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretIamMemberArrayOutput) Index(i pulumi.IntInput) RegionalSecretIamMemberOutput
- func (o RegionalSecretIamMemberArrayOutput) ToRegionalSecretIamMemberArrayOutput() RegionalSecretIamMemberArrayOutput
- func (o RegionalSecretIamMemberArrayOutput) ToRegionalSecretIamMemberArrayOutputWithContext(ctx context.Context) RegionalSecretIamMemberArrayOutput
- type RegionalSecretIamMemberCondition
- type RegionalSecretIamMemberConditionArgs
- func (RegionalSecretIamMemberConditionArgs) ElementType() reflect.Type
- func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionOutput() RegionalSecretIamMemberConditionOutput
- func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionOutput
- func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput
- func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionPtrOutput
- type RegionalSecretIamMemberConditionInput
- type RegionalSecretIamMemberConditionOutput
- func (o RegionalSecretIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (RegionalSecretIamMemberConditionOutput) ElementType() reflect.Type
- func (o RegionalSecretIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o RegionalSecretIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionOutput() RegionalSecretIamMemberConditionOutput
- func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionOutput
- func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput
- func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionPtrOutput
- type RegionalSecretIamMemberConditionPtrInput
- type RegionalSecretIamMemberConditionPtrOutput
- func (o RegionalSecretIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RegionalSecretIamMemberConditionPtrOutput) Elem() RegionalSecretIamMemberConditionOutput
- func (RegionalSecretIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o RegionalSecretIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RegionalSecretIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RegionalSecretIamMemberConditionPtrOutput) ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput
- func (o RegionalSecretIamMemberConditionPtrOutput) ToRegionalSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionPtrOutput
- type RegionalSecretIamMemberInput
- type RegionalSecretIamMemberMap
- func (RegionalSecretIamMemberMap) ElementType() reflect.Type
- func (i RegionalSecretIamMemberMap) ToRegionalSecretIamMemberMapOutput() RegionalSecretIamMemberMapOutput
- func (i RegionalSecretIamMemberMap) ToRegionalSecretIamMemberMapOutputWithContext(ctx context.Context) RegionalSecretIamMemberMapOutput
- type RegionalSecretIamMemberMapInput
- type RegionalSecretIamMemberMapOutput
- func (RegionalSecretIamMemberMapOutput) ElementType() reflect.Type
- func (o RegionalSecretIamMemberMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretIamMemberOutput
- func (o RegionalSecretIamMemberMapOutput) ToRegionalSecretIamMemberMapOutput() RegionalSecretIamMemberMapOutput
- func (o RegionalSecretIamMemberMapOutput) ToRegionalSecretIamMemberMapOutputWithContext(ctx context.Context) RegionalSecretIamMemberMapOutput
- type RegionalSecretIamMemberOutput
- func (o RegionalSecretIamMemberOutput) Condition() RegionalSecretIamMemberConditionPtrOutput
- func (RegionalSecretIamMemberOutput) ElementType() reflect.Type
- func (o RegionalSecretIamMemberOutput) Etag() pulumi.StringOutput
- func (o RegionalSecretIamMemberOutput) Location() pulumi.StringOutput
- func (o RegionalSecretIamMemberOutput) Member() pulumi.StringOutput
- func (o RegionalSecretIamMemberOutput) Project() pulumi.StringOutput
- func (o RegionalSecretIamMemberOutput) Role() pulumi.StringOutput
- func (o RegionalSecretIamMemberOutput) SecretId() pulumi.StringOutput
- func (o RegionalSecretIamMemberOutput) ToRegionalSecretIamMemberOutput() RegionalSecretIamMemberOutput
- func (o RegionalSecretIamMemberOutput) ToRegionalSecretIamMemberOutputWithContext(ctx context.Context) RegionalSecretIamMemberOutput
- type RegionalSecretIamMemberState
- type RegionalSecretIamPolicy
- type RegionalSecretIamPolicyArgs
- type RegionalSecretIamPolicyArray
- func (RegionalSecretIamPolicyArray) ElementType() reflect.Type
- func (i RegionalSecretIamPolicyArray) ToRegionalSecretIamPolicyArrayOutput() RegionalSecretIamPolicyArrayOutput
- func (i RegionalSecretIamPolicyArray) ToRegionalSecretIamPolicyArrayOutputWithContext(ctx context.Context) RegionalSecretIamPolicyArrayOutput
- type RegionalSecretIamPolicyArrayInput
- type RegionalSecretIamPolicyArrayOutput
- func (RegionalSecretIamPolicyArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretIamPolicyArrayOutput) Index(i pulumi.IntInput) RegionalSecretIamPolicyOutput
- func (o RegionalSecretIamPolicyArrayOutput) ToRegionalSecretIamPolicyArrayOutput() RegionalSecretIamPolicyArrayOutput
- func (o RegionalSecretIamPolicyArrayOutput) ToRegionalSecretIamPolicyArrayOutputWithContext(ctx context.Context) RegionalSecretIamPolicyArrayOutput
- type RegionalSecretIamPolicyInput
- type RegionalSecretIamPolicyMap
- func (RegionalSecretIamPolicyMap) ElementType() reflect.Type
- func (i RegionalSecretIamPolicyMap) ToRegionalSecretIamPolicyMapOutput() RegionalSecretIamPolicyMapOutput
- func (i RegionalSecretIamPolicyMap) ToRegionalSecretIamPolicyMapOutputWithContext(ctx context.Context) RegionalSecretIamPolicyMapOutput
- type RegionalSecretIamPolicyMapInput
- type RegionalSecretIamPolicyMapOutput
- func (RegionalSecretIamPolicyMapOutput) ElementType() reflect.Type
- func (o RegionalSecretIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretIamPolicyOutput
- func (o RegionalSecretIamPolicyMapOutput) ToRegionalSecretIamPolicyMapOutput() RegionalSecretIamPolicyMapOutput
- func (o RegionalSecretIamPolicyMapOutput) ToRegionalSecretIamPolicyMapOutputWithContext(ctx context.Context) RegionalSecretIamPolicyMapOutput
- type RegionalSecretIamPolicyOutput
- func (RegionalSecretIamPolicyOutput) ElementType() reflect.Type
- func (o RegionalSecretIamPolicyOutput) Etag() pulumi.StringOutput
- func (o RegionalSecretIamPolicyOutput) Location() pulumi.StringOutput
- func (o RegionalSecretIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o RegionalSecretIamPolicyOutput) Project() pulumi.StringOutput
- func (o RegionalSecretIamPolicyOutput) SecretId() pulumi.StringOutput
- func (o RegionalSecretIamPolicyOutput) ToRegionalSecretIamPolicyOutput() RegionalSecretIamPolicyOutput
- func (o RegionalSecretIamPolicyOutput) ToRegionalSecretIamPolicyOutputWithContext(ctx context.Context) RegionalSecretIamPolicyOutput
- type RegionalSecretIamPolicyState
- type RegionalSecretInput
- type RegionalSecretMap
- type RegionalSecretMapInput
- type RegionalSecretMapOutput
- func (RegionalSecretMapOutput) ElementType() reflect.Type
- func (o RegionalSecretMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretOutput
- func (o RegionalSecretMapOutput) ToRegionalSecretMapOutput() RegionalSecretMapOutput
- func (o RegionalSecretMapOutput) ToRegionalSecretMapOutputWithContext(ctx context.Context) RegionalSecretMapOutput
- type RegionalSecretOutput
- func (o RegionalSecretOutput) Annotations() pulumi.StringMapOutput
- func (o RegionalSecretOutput) CreateTime() pulumi.StringOutput
- func (o RegionalSecretOutput) CustomerManagedEncryption() RegionalSecretCustomerManagedEncryptionPtrOutput
- func (o RegionalSecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o RegionalSecretOutput) EffectiveLabels() pulumi.StringMapOutput
- func (RegionalSecretOutput) ElementType() reflect.Type
- func (o RegionalSecretOutput) ExpireTime() pulumi.StringOutput
- func (o RegionalSecretOutput) Labels() pulumi.StringMapOutput
- func (o RegionalSecretOutput) Location() pulumi.StringOutput
- func (o RegionalSecretOutput) Name() pulumi.StringOutput
- func (o RegionalSecretOutput) Project() pulumi.StringOutput
- func (o RegionalSecretOutput) PulumiLabels() pulumi.StringMapOutput
- func (o RegionalSecretOutput) Rotation() RegionalSecretRotationPtrOutput
- func (o RegionalSecretOutput) SecretId() pulumi.StringOutput
- func (o RegionalSecretOutput) ToRegionalSecretOutput() RegionalSecretOutput
- func (o RegionalSecretOutput) ToRegionalSecretOutputWithContext(ctx context.Context) RegionalSecretOutput
- func (o RegionalSecretOutput) Topics() RegionalSecretTopicArrayOutput
- func (o RegionalSecretOutput) Ttl() pulumi.StringPtrOutput
- func (o RegionalSecretOutput) VersionAliases() pulumi.StringMapOutput
- func (o RegionalSecretOutput) VersionDestroyTtl() pulumi.StringPtrOutput
- type RegionalSecretRotation
- type RegionalSecretRotationArgs
- func (RegionalSecretRotationArgs) ElementType() reflect.Type
- func (i RegionalSecretRotationArgs) ToRegionalSecretRotationOutput() RegionalSecretRotationOutput
- func (i RegionalSecretRotationArgs) ToRegionalSecretRotationOutputWithContext(ctx context.Context) RegionalSecretRotationOutput
- func (i RegionalSecretRotationArgs) ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput
- func (i RegionalSecretRotationArgs) ToRegionalSecretRotationPtrOutputWithContext(ctx context.Context) RegionalSecretRotationPtrOutput
- type RegionalSecretRotationInput
- type RegionalSecretRotationOutput
- func (RegionalSecretRotationOutput) ElementType() reflect.Type
- func (o RegionalSecretRotationOutput) NextRotationTime() pulumi.StringPtrOutput
- func (o RegionalSecretRotationOutput) RotationPeriod() pulumi.StringPtrOutput
- func (o RegionalSecretRotationOutput) ToRegionalSecretRotationOutput() RegionalSecretRotationOutput
- func (o RegionalSecretRotationOutput) ToRegionalSecretRotationOutputWithContext(ctx context.Context) RegionalSecretRotationOutput
- func (o RegionalSecretRotationOutput) ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput
- func (o RegionalSecretRotationOutput) ToRegionalSecretRotationPtrOutputWithContext(ctx context.Context) RegionalSecretRotationPtrOutput
- type RegionalSecretRotationPtrInput
- type RegionalSecretRotationPtrOutput
- func (o RegionalSecretRotationPtrOutput) Elem() RegionalSecretRotationOutput
- func (RegionalSecretRotationPtrOutput) ElementType() reflect.Type
- func (o RegionalSecretRotationPtrOutput) NextRotationTime() pulumi.StringPtrOutput
- func (o RegionalSecretRotationPtrOutput) RotationPeriod() pulumi.StringPtrOutput
- func (o RegionalSecretRotationPtrOutput) ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput
- func (o RegionalSecretRotationPtrOutput) ToRegionalSecretRotationPtrOutputWithContext(ctx context.Context) RegionalSecretRotationPtrOutput
- type RegionalSecretState
- type RegionalSecretTopic
- type RegionalSecretTopicArgs
- type RegionalSecretTopicArray
- type RegionalSecretTopicArrayInput
- type RegionalSecretTopicArrayOutput
- func (RegionalSecretTopicArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretTopicArrayOutput) Index(i pulumi.IntInput) RegionalSecretTopicOutput
- func (o RegionalSecretTopicArrayOutput) ToRegionalSecretTopicArrayOutput() RegionalSecretTopicArrayOutput
- func (o RegionalSecretTopicArrayOutput) ToRegionalSecretTopicArrayOutputWithContext(ctx context.Context) RegionalSecretTopicArrayOutput
- type RegionalSecretTopicInput
- type RegionalSecretTopicOutput
- func (RegionalSecretTopicOutput) ElementType() reflect.Type
- func (o RegionalSecretTopicOutput) Name() pulumi.StringOutput
- func (o RegionalSecretTopicOutput) ToRegionalSecretTopicOutput() RegionalSecretTopicOutput
- func (o RegionalSecretTopicOutput) ToRegionalSecretTopicOutputWithContext(ctx context.Context) RegionalSecretTopicOutput
- type RegionalSecretVersion
- type RegionalSecretVersionArgs
- type RegionalSecretVersionArray
- func (RegionalSecretVersionArray) ElementType() reflect.Type
- func (i RegionalSecretVersionArray) ToRegionalSecretVersionArrayOutput() RegionalSecretVersionArrayOutput
- func (i RegionalSecretVersionArray) ToRegionalSecretVersionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionArrayOutput
- type RegionalSecretVersionArrayInput
- type RegionalSecretVersionArrayOutput
- func (RegionalSecretVersionArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretVersionArrayOutput) Index(i pulumi.IntInput) RegionalSecretVersionOutput
- func (o RegionalSecretVersionArrayOutput) ToRegionalSecretVersionArrayOutput() RegionalSecretVersionArrayOutput
- func (o RegionalSecretVersionArrayOutput) ToRegionalSecretVersionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionArrayOutput
- type RegionalSecretVersionCustomerManagedEncryption
- type RegionalSecretVersionCustomerManagedEncryptionArgs
- func (RegionalSecretVersionCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i RegionalSecretVersionCustomerManagedEncryptionArgs) ToRegionalSecretVersionCustomerManagedEncryptionOutput() RegionalSecretVersionCustomerManagedEncryptionOutput
- func (i RegionalSecretVersionCustomerManagedEncryptionArgs) ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionOutput
- type RegionalSecretVersionCustomerManagedEncryptionArray
- func (RegionalSecretVersionCustomerManagedEncryptionArray) ElementType() reflect.Type
- func (i RegionalSecretVersionCustomerManagedEncryptionArray) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput() RegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (i RegionalSecretVersionCustomerManagedEncryptionArray) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionArrayOutput
- type RegionalSecretVersionCustomerManagedEncryptionArrayInput
- type RegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
- func (o RegionalSecretVersionCustomerManagedEncryptionArrayOutput) Index(i pulumi.IntInput) RegionalSecretVersionCustomerManagedEncryptionOutput
- func (o RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput() RegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (o RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionArrayOutput
- type RegionalSecretVersionCustomerManagedEncryptionInput
- type RegionalSecretVersionCustomerManagedEncryptionOutput
- func (RegionalSecretVersionCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o RegionalSecretVersionCustomerManagedEncryptionOutput) KmsKeyVersionName() pulumi.StringPtrOutput
- func (o RegionalSecretVersionCustomerManagedEncryptionOutput) ToRegionalSecretVersionCustomerManagedEncryptionOutput() RegionalSecretVersionCustomerManagedEncryptionOutput
- func (o RegionalSecretVersionCustomerManagedEncryptionOutput) ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionOutput
- type RegionalSecretVersionInput
- type RegionalSecretVersionMap
- type RegionalSecretVersionMapInput
- type RegionalSecretVersionMapOutput
- func (RegionalSecretVersionMapOutput) ElementType() reflect.Type
- func (o RegionalSecretVersionMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretVersionOutput
- func (o RegionalSecretVersionMapOutput) ToRegionalSecretVersionMapOutput() RegionalSecretVersionMapOutput
- func (o RegionalSecretVersionMapOutput) ToRegionalSecretVersionMapOutputWithContext(ctx context.Context) RegionalSecretVersionMapOutput
- type RegionalSecretVersionOutput
- func (o RegionalSecretVersionOutput) CreateTime() pulumi.StringOutput
- func (o RegionalSecretVersionOutput) CustomerManagedEncryptions() RegionalSecretVersionCustomerManagedEncryptionArrayOutput
- func (o RegionalSecretVersionOutput) DeletionPolicy() pulumi.StringPtrOutput
- func (o RegionalSecretVersionOutput) DestroyTime() pulumi.StringOutput
- func (RegionalSecretVersionOutput) ElementType() reflect.Type
- func (o RegionalSecretVersionOutput) Enabled() pulumi.BoolPtrOutput
- func (o RegionalSecretVersionOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
- func (o RegionalSecretVersionOutput) Location() pulumi.StringOutput
- func (o RegionalSecretVersionOutput) Name() pulumi.StringOutput
- func (o RegionalSecretVersionOutput) Secret() pulumi.StringOutput
- func (o RegionalSecretVersionOutput) SecretData() pulumi.StringOutput
- func (o RegionalSecretVersionOutput) ToRegionalSecretVersionOutput() RegionalSecretVersionOutput
- func (o RegionalSecretVersionOutput) ToRegionalSecretVersionOutputWithContext(ctx context.Context) RegionalSecretVersionOutput
- func (o RegionalSecretVersionOutput) Version() pulumi.StringOutput
- type RegionalSecretVersionState
- type Secret
- type SecretArgs
- type SecretArray
- type SecretArrayInput
- type SecretArrayOutput
- type SecretIamBinding
- type SecretIamBindingArgs
- type SecretIamBindingArray
- type SecretIamBindingArrayInput
- type SecretIamBindingArrayOutput
- func (SecretIamBindingArrayOutput) ElementType() reflect.Type
- func (o SecretIamBindingArrayOutput) Index(i pulumi.IntInput) SecretIamBindingOutput
- func (o SecretIamBindingArrayOutput) ToSecretIamBindingArrayOutput() SecretIamBindingArrayOutput
- func (o SecretIamBindingArrayOutput) ToSecretIamBindingArrayOutputWithContext(ctx context.Context) SecretIamBindingArrayOutput
- type SecretIamBindingCondition
- type SecretIamBindingConditionArgs
- func (SecretIamBindingConditionArgs) ElementType() reflect.Type
- func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionOutput() SecretIamBindingConditionOutput
- func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionOutputWithContext(ctx context.Context) SecretIamBindingConditionOutput
- func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput
- func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) SecretIamBindingConditionPtrOutput
- type SecretIamBindingConditionInput
- type SecretIamBindingConditionOutput
- func (o SecretIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (SecretIamBindingConditionOutput) ElementType() reflect.Type
- func (o SecretIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o SecretIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionOutput() SecretIamBindingConditionOutput
- func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionOutputWithContext(ctx context.Context) SecretIamBindingConditionOutput
- func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput
- func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) SecretIamBindingConditionPtrOutput
- type SecretIamBindingConditionPtrInput
- type SecretIamBindingConditionPtrOutput
- func (o SecretIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o SecretIamBindingConditionPtrOutput) Elem() SecretIamBindingConditionOutput
- func (SecretIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o SecretIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o SecretIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o SecretIamBindingConditionPtrOutput) ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput
- func (o SecretIamBindingConditionPtrOutput) ToSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) SecretIamBindingConditionPtrOutput
- type SecretIamBindingInput
- type SecretIamBindingMap
- type SecretIamBindingMapInput
- type SecretIamBindingMapOutput
- func (SecretIamBindingMapOutput) ElementType() reflect.Type
- func (o SecretIamBindingMapOutput) MapIndex(k pulumi.StringInput) SecretIamBindingOutput
- func (o SecretIamBindingMapOutput) ToSecretIamBindingMapOutput() SecretIamBindingMapOutput
- func (o SecretIamBindingMapOutput) ToSecretIamBindingMapOutputWithContext(ctx context.Context) SecretIamBindingMapOutput
- type SecretIamBindingOutput
- func (o SecretIamBindingOutput) Condition() SecretIamBindingConditionPtrOutput
- func (SecretIamBindingOutput) ElementType() reflect.Type
- func (o SecretIamBindingOutput) Etag() pulumi.StringOutput
- func (o SecretIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o SecretIamBindingOutput) Project() pulumi.StringOutput
- func (o SecretIamBindingOutput) Role() pulumi.StringOutput
- func (o SecretIamBindingOutput) SecretId() pulumi.StringOutput
- func (o SecretIamBindingOutput) ToSecretIamBindingOutput() SecretIamBindingOutput
- func (o SecretIamBindingOutput) ToSecretIamBindingOutputWithContext(ctx context.Context) SecretIamBindingOutput
- type SecretIamBindingState
- type SecretIamMember
- type SecretIamMemberArgs
- type SecretIamMemberArray
- type SecretIamMemberArrayInput
- type SecretIamMemberArrayOutput
- func (SecretIamMemberArrayOutput) ElementType() reflect.Type
- func (o SecretIamMemberArrayOutput) Index(i pulumi.IntInput) SecretIamMemberOutput
- func (o SecretIamMemberArrayOutput) ToSecretIamMemberArrayOutput() SecretIamMemberArrayOutput
- func (o SecretIamMemberArrayOutput) ToSecretIamMemberArrayOutputWithContext(ctx context.Context) SecretIamMemberArrayOutput
- type SecretIamMemberCondition
- type SecretIamMemberConditionArgs
- func (SecretIamMemberConditionArgs) ElementType() reflect.Type
- func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionOutput() SecretIamMemberConditionOutput
- func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionOutputWithContext(ctx context.Context) SecretIamMemberConditionOutput
- func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput
- func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) SecretIamMemberConditionPtrOutput
- type SecretIamMemberConditionInput
- type SecretIamMemberConditionOutput
- func (o SecretIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (SecretIamMemberConditionOutput) ElementType() reflect.Type
- func (o SecretIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o SecretIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionOutput() SecretIamMemberConditionOutput
- func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionOutputWithContext(ctx context.Context) SecretIamMemberConditionOutput
- func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput
- func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) SecretIamMemberConditionPtrOutput
- type SecretIamMemberConditionPtrInput
- type SecretIamMemberConditionPtrOutput
- func (o SecretIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o SecretIamMemberConditionPtrOutput) Elem() SecretIamMemberConditionOutput
- func (SecretIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o SecretIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o SecretIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o SecretIamMemberConditionPtrOutput) ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput
- func (o SecretIamMemberConditionPtrOutput) ToSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) SecretIamMemberConditionPtrOutput
- type SecretIamMemberInput
- type SecretIamMemberMap
- type SecretIamMemberMapInput
- type SecretIamMemberMapOutput
- func (SecretIamMemberMapOutput) ElementType() reflect.Type
- func (o SecretIamMemberMapOutput) MapIndex(k pulumi.StringInput) SecretIamMemberOutput
- func (o SecretIamMemberMapOutput) ToSecretIamMemberMapOutput() SecretIamMemberMapOutput
- func (o SecretIamMemberMapOutput) ToSecretIamMemberMapOutputWithContext(ctx context.Context) SecretIamMemberMapOutput
- type SecretIamMemberOutput
- func (o SecretIamMemberOutput) Condition() SecretIamMemberConditionPtrOutput
- func (SecretIamMemberOutput) ElementType() reflect.Type
- func (o SecretIamMemberOutput) Etag() pulumi.StringOutput
- func (o SecretIamMemberOutput) Member() pulumi.StringOutput
- func (o SecretIamMemberOutput) Project() pulumi.StringOutput
- func (o SecretIamMemberOutput) Role() pulumi.StringOutput
- func (o SecretIamMemberOutput) SecretId() pulumi.StringOutput
- func (o SecretIamMemberOutput) ToSecretIamMemberOutput() SecretIamMemberOutput
- func (o SecretIamMemberOutput) ToSecretIamMemberOutputWithContext(ctx context.Context) SecretIamMemberOutput
- type SecretIamMemberState
- type SecretIamPolicy
- type SecretIamPolicyArgs
- type SecretIamPolicyArray
- type SecretIamPolicyArrayInput
- type SecretIamPolicyArrayOutput
- func (SecretIamPolicyArrayOutput) ElementType() reflect.Type
- func (o SecretIamPolicyArrayOutput) Index(i pulumi.IntInput) SecretIamPolicyOutput
- func (o SecretIamPolicyArrayOutput) ToSecretIamPolicyArrayOutput() SecretIamPolicyArrayOutput
- func (o SecretIamPolicyArrayOutput) ToSecretIamPolicyArrayOutputWithContext(ctx context.Context) SecretIamPolicyArrayOutput
- type SecretIamPolicyInput
- type SecretIamPolicyMap
- type SecretIamPolicyMapInput
- type SecretIamPolicyMapOutput
- func (SecretIamPolicyMapOutput) ElementType() reflect.Type
- func (o SecretIamPolicyMapOutput) MapIndex(k pulumi.StringInput) SecretIamPolicyOutput
- func (o SecretIamPolicyMapOutput) ToSecretIamPolicyMapOutput() SecretIamPolicyMapOutput
- func (o SecretIamPolicyMapOutput) ToSecretIamPolicyMapOutputWithContext(ctx context.Context) SecretIamPolicyMapOutput
- type SecretIamPolicyOutput
- func (SecretIamPolicyOutput) ElementType() reflect.Type
- func (o SecretIamPolicyOutput) Etag() pulumi.StringOutput
- func (o SecretIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o SecretIamPolicyOutput) Project() pulumi.StringOutput
- func (o SecretIamPolicyOutput) SecretId() pulumi.StringOutput
- func (o SecretIamPolicyOutput) ToSecretIamPolicyOutput() SecretIamPolicyOutput
- func (o SecretIamPolicyOutput) ToSecretIamPolicyOutputWithContext(ctx context.Context) SecretIamPolicyOutput
- type SecretIamPolicyState
- type SecretInput
- type SecretMap
- type SecretMapInput
- type SecretMapOutput
- type SecretOutput
- func (o SecretOutput) Annotations() pulumi.StringMapOutput
- func (o SecretOutput) CreateTime() pulumi.StringOutput
- func (o SecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o SecretOutput) EffectiveLabels() pulumi.StringMapOutput
- func (SecretOutput) ElementType() reflect.Type
- func (o SecretOutput) ExpireTime() pulumi.StringOutput
- func (o SecretOutput) Labels() pulumi.StringMapOutput
- func (o SecretOutput) Name() pulumi.StringOutput
- func (o SecretOutput) Project() pulumi.StringOutput
- func (o SecretOutput) PulumiLabels() pulumi.StringMapOutput
- func (o SecretOutput) Replication() SecretReplicationOutput
- func (o SecretOutput) Rotation() SecretRotationPtrOutput
- func (o SecretOutput) SecretId() pulumi.StringOutput
- func (o SecretOutput) ToSecretOutput() SecretOutput
- func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
- func (o SecretOutput) Topics() SecretTopicArrayOutput
- func (o SecretOutput) Ttl() pulumi.StringPtrOutput
- func (o SecretOutput) VersionAliases() pulumi.StringMapOutput
- func (o SecretOutput) VersionDestroyTtl() pulumi.StringPtrOutput
- type SecretReplication
- type SecretReplicationArgs
- func (SecretReplicationArgs) ElementType() reflect.Type
- func (i SecretReplicationArgs) ToSecretReplicationOutput() SecretReplicationOutput
- func (i SecretReplicationArgs) ToSecretReplicationOutputWithContext(ctx context.Context) SecretReplicationOutput
- func (i SecretReplicationArgs) ToSecretReplicationPtrOutput() SecretReplicationPtrOutput
- func (i SecretReplicationArgs) ToSecretReplicationPtrOutputWithContext(ctx context.Context) SecretReplicationPtrOutput
- type SecretReplicationAuto
- type SecretReplicationAutoArgs
- func (SecretReplicationAutoArgs) ElementType() reflect.Type
- func (i SecretReplicationAutoArgs) ToSecretReplicationAutoOutput() SecretReplicationAutoOutput
- func (i SecretReplicationAutoArgs) ToSecretReplicationAutoOutputWithContext(ctx context.Context) SecretReplicationAutoOutput
- func (i SecretReplicationAutoArgs) ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput
- func (i SecretReplicationAutoArgs) ToSecretReplicationAutoPtrOutputWithContext(ctx context.Context) SecretReplicationAutoPtrOutput
- type SecretReplicationAutoCustomerManagedEncryption
- type SecretReplicationAutoCustomerManagedEncryptionArgs
- func (SecretReplicationAutoCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionOutput() SecretReplicationAutoCustomerManagedEncryptionOutput
- func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionOutput
- func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- type SecretReplicationAutoCustomerManagedEncryptionInput
- type SecretReplicationAutoCustomerManagedEncryptionOutput
- func (SecretReplicationAutoCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o SecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionOutput() SecretReplicationAutoCustomerManagedEncryptionOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- type SecretReplicationAutoCustomerManagedEncryptionPtrInput
- type SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) Elem() SecretReplicationAutoCustomerManagedEncryptionOutput
- func (SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ElementType() reflect.Type
- func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- type SecretReplicationAutoInput
- type SecretReplicationAutoOutput
- func (o SecretReplicationAutoOutput) CustomerManagedEncryption() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- func (SecretReplicationAutoOutput) ElementType() reflect.Type
- func (o SecretReplicationAutoOutput) ToSecretReplicationAutoOutput() SecretReplicationAutoOutput
- func (o SecretReplicationAutoOutput) ToSecretReplicationAutoOutputWithContext(ctx context.Context) SecretReplicationAutoOutput
- func (o SecretReplicationAutoOutput) ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput
- func (o SecretReplicationAutoOutput) ToSecretReplicationAutoPtrOutputWithContext(ctx context.Context) SecretReplicationAutoPtrOutput
- type SecretReplicationAutoPtrInput
- type SecretReplicationAutoPtrOutput
- func (o SecretReplicationAutoPtrOutput) CustomerManagedEncryption() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationAutoPtrOutput) Elem() SecretReplicationAutoOutput
- func (SecretReplicationAutoPtrOutput) ElementType() reflect.Type
- func (o SecretReplicationAutoPtrOutput) ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput
- func (o SecretReplicationAutoPtrOutput) ToSecretReplicationAutoPtrOutputWithContext(ctx context.Context) SecretReplicationAutoPtrOutput
- type SecretReplicationInput
- type SecretReplicationOutput
- func (o SecretReplicationOutput) Auto() SecretReplicationAutoPtrOutput
- func (SecretReplicationOutput) ElementType() reflect.Type
- func (o SecretReplicationOutput) ToSecretReplicationOutput() SecretReplicationOutput
- func (o SecretReplicationOutput) ToSecretReplicationOutputWithContext(ctx context.Context) SecretReplicationOutput
- func (o SecretReplicationOutput) ToSecretReplicationPtrOutput() SecretReplicationPtrOutput
- func (o SecretReplicationOutput) ToSecretReplicationPtrOutputWithContext(ctx context.Context) SecretReplicationPtrOutput
- func (o SecretReplicationOutput) UserManaged() SecretReplicationUserManagedPtrOutput
- type SecretReplicationPtrInput
- type SecretReplicationPtrOutput
- func (o SecretReplicationPtrOutput) Auto() SecretReplicationAutoPtrOutput
- func (o SecretReplicationPtrOutput) Elem() SecretReplicationOutput
- func (SecretReplicationPtrOutput) ElementType() reflect.Type
- func (o SecretReplicationPtrOutput) ToSecretReplicationPtrOutput() SecretReplicationPtrOutput
- func (o SecretReplicationPtrOutput) ToSecretReplicationPtrOutputWithContext(ctx context.Context) SecretReplicationPtrOutput
- func (o SecretReplicationPtrOutput) UserManaged() SecretReplicationUserManagedPtrOutput
- type SecretReplicationUserManaged
- type SecretReplicationUserManagedArgs
- func (SecretReplicationUserManagedArgs) ElementType() reflect.Type
- func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedOutput() SecretReplicationUserManagedOutput
- func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedOutputWithContext(ctx context.Context) SecretReplicationUserManagedOutput
- func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput
- func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedPtrOutput
- type SecretReplicationUserManagedInput
- type SecretReplicationUserManagedOutput
- func (SecretReplicationUserManagedOutput) ElementType() reflect.Type
- func (o SecretReplicationUserManagedOutput) Replicas() SecretReplicationUserManagedReplicaArrayOutput
- func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedOutput() SecretReplicationUserManagedOutput
- func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedOutputWithContext(ctx context.Context) SecretReplicationUserManagedOutput
- func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput
- func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedPtrOutput
- type SecretReplicationUserManagedPtrInput
- type SecretReplicationUserManagedPtrOutput
- func (o SecretReplicationUserManagedPtrOutput) Elem() SecretReplicationUserManagedOutput
- func (SecretReplicationUserManagedPtrOutput) ElementType() reflect.Type
- func (o SecretReplicationUserManagedPtrOutput) Replicas() SecretReplicationUserManagedReplicaArrayOutput
- func (o SecretReplicationUserManagedPtrOutput) ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput
- func (o SecretReplicationUserManagedPtrOutput) ToSecretReplicationUserManagedPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedPtrOutput
- type SecretReplicationUserManagedReplica
- type SecretReplicationUserManagedReplicaArgs
- func (SecretReplicationUserManagedReplicaArgs) ElementType() reflect.Type
- func (i SecretReplicationUserManagedReplicaArgs) ToSecretReplicationUserManagedReplicaOutput() SecretReplicationUserManagedReplicaOutput
- func (i SecretReplicationUserManagedReplicaArgs) ToSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaOutput
- type SecretReplicationUserManagedReplicaArray
- func (SecretReplicationUserManagedReplicaArray) ElementType() reflect.Type
- func (i SecretReplicationUserManagedReplicaArray) ToSecretReplicationUserManagedReplicaArrayOutput() SecretReplicationUserManagedReplicaArrayOutput
- func (i SecretReplicationUserManagedReplicaArray) ToSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaArrayOutput
- type SecretReplicationUserManagedReplicaArrayInput
- type SecretReplicationUserManagedReplicaArrayOutput
- func (SecretReplicationUserManagedReplicaArrayOutput) ElementType() reflect.Type
- func (o SecretReplicationUserManagedReplicaArrayOutput) Index(i pulumi.IntInput) SecretReplicationUserManagedReplicaOutput
- func (o SecretReplicationUserManagedReplicaArrayOutput) ToSecretReplicationUserManagedReplicaArrayOutput() SecretReplicationUserManagedReplicaArrayOutput
- func (o SecretReplicationUserManagedReplicaArrayOutput) ToSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaArrayOutput
- type SecretReplicationUserManagedReplicaCustomerManagedEncryption
- type SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs
- func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType() reflect.Type
- func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- type SecretReplicationUserManagedReplicaCustomerManagedEncryptionInput
- type SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType() reflect.Type
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- type SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput
- type SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) Elem() SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
- func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ElementType() reflect.Type
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- type SecretReplicationUserManagedReplicaInput
- type SecretReplicationUserManagedReplicaOutput
- func (o SecretReplicationUserManagedReplicaOutput) CustomerManagedEncryption() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
- func (SecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
- func (o SecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
- func (o SecretReplicationUserManagedReplicaOutput) ToSecretReplicationUserManagedReplicaOutput() SecretReplicationUserManagedReplicaOutput
- func (o SecretReplicationUserManagedReplicaOutput) ToSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaOutput
- type SecretRotation
- type SecretRotationArgs
- func (SecretRotationArgs) ElementType() reflect.Type
- func (i SecretRotationArgs) ToSecretRotationOutput() SecretRotationOutput
- func (i SecretRotationArgs) ToSecretRotationOutputWithContext(ctx context.Context) SecretRotationOutput
- func (i SecretRotationArgs) ToSecretRotationPtrOutput() SecretRotationPtrOutput
- func (i SecretRotationArgs) ToSecretRotationPtrOutputWithContext(ctx context.Context) SecretRotationPtrOutput
- type SecretRotationInput
- type SecretRotationOutput
- func (SecretRotationOutput) ElementType() reflect.Type
- func (o SecretRotationOutput) NextRotationTime() pulumi.StringPtrOutput
- func (o SecretRotationOutput) RotationPeriod() pulumi.StringPtrOutput
- func (o SecretRotationOutput) ToSecretRotationOutput() SecretRotationOutput
- func (o SecretRotationOutput) ToSecretRotationOutputWithContext(ctx context.Context) SecretRotationOutput
- func (o SecretRotationOutput) ToSecretRotationPtrOutput() SecretRotationPtrOutput
- func (o SecretRotationOutput) ToSecretRotationPtrOutputWithContext(ctx context.Context) SecretRotationPtrOutput
- type SecretRotationPtrInput
- type SecretRotationPtrOutput
- func (o SecretRotationPtrOutput) Elem() SecretRotationOutput
- func (SecretRotationPtrOutput) ElementType() reflect.Type
- func (o SecretRotationPtrOutput) NextRotationTime() pulumi.StringPtrOutput
- func (o SecretRotationPtrOutput) RotationPeriod() pulumi.StringPtrOutput
- func (o SecretRotationPtrOutput) ToSecretRotationPtrOutput() SecretRotationPtrOutput
- func (o SecretRotationPtrOutput) ToSecretRotationPtrOutputWithContext(ctx context.Context) SecretRotationPtrOutput
- type SecretState
- type SecretTopic
- type SecretTopicArgs
- type SecretTopicArray
- type SecretTopicArrayInput
- type SecretTopicArrayOutput
- func (SecretTopicArrayOutput) ElementType() reflect.Type
- func (o SecretTopicArrayOutput) Index(i pulumi.IntInput) SecretTopicOutput
- func (o SecretTopicArrayOutput) ToSecretTopicArrayOutput() SecretTopicArrayOutput
- func (o SecretTopicArrayOutput) ToSecretTopicArrayOutputWithContext(ctx context.Context) SecretTopicArrayOutput
- type SecretTopicInput
- type SecretTopicOutput
- type SecretVersion
- type SecretVersionArgs
- type SecretVersionArray
- type SecretVersionArrayInput
- type SecretVersionArrayOutput
- func (SecretVersionArrayOutput) ElementType() reflect.Type
- func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput
- func (o SecretVersionArrayOutput) ToSecretVersionArrayOutput() SecretVersionArrayOutput
- func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput
- type SecretVersionInput
- type SecretVersionMap
- type SecretVersionMapInput
- type SecretVersionMapOutput
- func (SecretVersionMapOutput) ElementType() reflect.Type
- func (o SecretVersionMapOutput) MapIndex(k pulumi.StringInput) SecretVersionOutput
- func (o SecretVersionMapOutput) ToSecretVersionMapOutput() SecretVersionMapOutput
- func (o SecretVersionMapOutput) ToSecretVersionMapOutputWithContext(ctx context.Context) SecretVersionMapOutput
- type SecretVersionOutput
- func (o SecretVersionOutput) CreateTime() pulumi.StringOutput
- func (o SecretVersionOutput) DeletionPolicy() pulumi.StringPtrOutput
- func (o SecretVersionOutput) DestroyTime() pulumi.StringOutput
- func (SecretVersionOutput) ElementType() reflect.Type
- func (o SecretVersionOutput) Enabled() pulumi.BoolPtrOutput
- func (o SecretVersionOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
- func (o SecretVersionOutput) Name() pulumi.StringOutput
- func (o SecretVersionOutput) Secret() pulumi.StringOutput
- func (o SecretVersionOutput) SecretData() pulumi.StringOutput
- func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput
- func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput
- func (o SecretVersionOutput) Version() pulumi.StringOutput
- type SecretVersionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRegionalSecretCustomerManagedEncryption ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryption struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyName string `pulumi:"kmsKeyName"` }
type GetRegionalSecretCustomerManagedEncryptionArgs ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryptionArgs struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (GetRegionalSecretCustomerManagedEncryptionArgs) ElementType ¶ added in v8.3.0
func (GetRegionalSecretCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetRegionalSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (i GetRegionalSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretCustomerManagedEncryptionOutput() GetRegionalSecretCustomerManagedEncryptionOutput
func (GetRegionalSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionOutput
type GetRegionalSecretCustomerManagedEncryptionArray ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryptionArray []GetRegionalSecretCustomerManagedEncryptionInput
func (GetRegionalSecretCustomerManagedEncryptionArray) ElementType ¶ added in v8.3.0
func (GetRegionalSecretCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetRegionalSecretCustomerManagedEncryptionArray) ToGetRegionalSecretCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
func (i GetRegionalSecretCustomerManagedEncryptionArray) ToGetRegionalSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretCustomerManagedEncryptionArrayOutput
func (GetRegionalSecretCustomerManagedEncryptionArray) ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretCustomerManagedEncryptionArray) ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionArrayOutput
type GetRegionalSecretCustomerManagedEncryptionArrayInput ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetRegionalSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretCustomerManagedEncryptionArrayOutput ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetRegionalSecretCustomerManagedEncryptionArrayOutput }
GetRegionalSecretCustomerManagedEncryptionArrayInput is an input type that accepts GetRegionalSecretCustomerManagedEncryptionArray and GetRegionalSecretCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetRegionalSecretCustomerManagedEncryptionArrayInput` via:
GetRegionalSecretCustomerManagedEncryptionArray{ GetRegionalSecretCustomerManagedEncryptionArgs{...} }
type GetRegionalSecretCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretCustomerManagedEncryptionArrayOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
func (o GetRegionalSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretCustomerManagedEncryptionArrayOutput
func (GetRegionalSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionArrayOutput
type GetRegionalSecretCustomerManagedEncryptionInput ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryptionInput interface { pulumi.Input ToGetRegionalSecretCustomerManagedEncryptionOutput() GetRegionalSecretCustomerManagedEncryptionOutput ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext(context.Context) GetRegionalSecretCustomerManagedEncryptionOutput }
GetRegionalSecretCustomerManagedEncryptionInput is an input type that accepts GetRegionalSecretCustomerManagedEncryptionArgs and GetRegionalSecretCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetRegionalSecretCustomerManagedEncryptionInput` via:
GetRegionalSecretCustomerManagedEncryptionArgs{...}
type GetRegionalSecretCustomerManagedEncryptionOutput ¶ added in v8.3.0
type GetRegionalSecretCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretCustomerManagedEncryptionOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetRegionalSecretCustomerManagedEncryptionOutput) KmsKeyName ¶ added in v8.3.0
func (o GetRegionalSecretCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
func (GetRegionalSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (o GetRegionalSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretCustomerManagedEncryptionOutput() GetRegionalSecretCustomerManagedEncryptionOutput
func (GetRegionalSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretCustomerManagedEncryptionOutput
type GetRegionalSecretRotation ¶ added in v8.3.0
type GetRegionalSecretRotation struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime string `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) // and at most 3153600000s (100 years). If rotationPeriod is set, 'next_rotation_time' must // be set. 'next_rotation_time' will be advanced by this period when the service // automatically sends rotation notifications. RotationPeriod string `pulumi:"rotationPeriod"` }
type GetRegionalSecretRotationArgs ¶ added in v8.3.0
type GetRegionalSecretRotationArgs struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime pulumi.StringInput `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) // and at most 3153600000s (100 years). If rotationPeriod is set, 'next_rotation_time' must // be set. 'next_rotation_time' will be advanced by this period when the service // automatically sends rotation notifications. RotationPeriod pulumi.StringInput `pulumi:"rotationPeriod"` }
func (GetRegionalSecretRotationArgs) ElementType ¶ added in v8.3.0
func (GetRegionalSecretRotationArgs) ElementType() reflect.Type
func (GetRegionalSecretRotationArgs) ToGetRegionalSecretRotationOutput ¶ added in v8.3.0
func (i GetRegionalSecretRotationArgs) ToGetRegionalSecretRotationOutput() GetRegionalSecretRotationOutput
func (GetRegionalSecretRotationArgs) ToGetRegionalSecretRotationOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretRotationArgs) ToGetRegionalSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretRotationOutput
type GetRegionalSecretRotationArray ¶ added in v8.3.0
type GetRegionalSecretRotationArray []GetRegionalSecretRotationInput
func (GetRegionalSecretRotationArray) ElementType ¶ added in v8.3.0
func (GetRegionalSecretRotationArray) ElementType() reflect.Type
func (GetRegionalSecretRotationArray) ToGetRegionalSecretRotationArrayOutput ¶ added in v8.3.0
func (i GetRegionalSecretRotationArray) ToGetRegionalSecretRotationArrayOutput() GetRegionalSecretRotationArrayOutput
func (GetRegionalSecretRotationArray) ToGetRegionalSecretRotationArrayOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretRotationArray) ToGetRegionalSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretRotationArrayOutput
type GetRegionalSecretRotationArrayInput ¶ added in v8.3.0
type GetRegionalSecretRotationArrayInput interface { pulumi.Input ToGetRegionalSecretRotationArrayOutput() GetRegionalSecretRotationArrayOutput ToGetRegionalSecretRotationArrayOutputWithContext(context.Context) GetRegionalSecretRotationArrayOutput }
GetRegionalSecretRotationArrayInput is an input type that accepts GetRegionalSecretRotationArray and GetRegionalSecretRotationArrayOutput values. You can construct a concrete instance of `GetRegionalSecretRotationArrayInput` via:
GetRegionalSecretRotationArray{ GetRegionalSecretRotationArgs{...} }
type GetRegionalSecretRotationArrayOutput ¶ added in v8.3.0
type GetRegionalSecretRotationArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretRotationArrayOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretRotationArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretRotationArrayOutput) Index ¶ added in v8.3.0
func (o GetRegionalSecretRotationArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretRotationOutput
func (GetRegionalSecretRotationArrayOutput) ToGetRegionalSecretRotationArrayOutput ¶ added in v8.3.0
func (o GetRegionalSecretRotationArrayOutput) ToGetRegionalSecretRotationArrayOutput() GetRegionalSecretRotationArrayOutput
func (GetRegionalSecretRotationArrayOutput) ToGetRegionalSecretRotationArrayOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretRotationArrayOutput) ToGetRegionalSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretRotationArrayOutput
type GetRegionalSecretRotationInput ¶ added in v8.3.0
type GetRegionalSecretRotationInput interface { pulumi.Input ToGetRegionalSecretRotationOutput() GetRegionalSecretRotationOutput ToGetRegionalSecretRotationOutputWithContext(context.Context) GetRegionalSecretRotationOutput }
GetRegionalSecretRotationInput is an input type that accepts GetRegionalSecretRotationArgs and GetRegionalSecretRotationOutput values. You can construct a concrete instance of `GetRegionalSecretRotationInput` via:
GetRegionalSecretRotationArgs{...}
type GetRegionalSecretRotationOutput ¶ added in v8.3.0
type GetRegionalSecretRotationOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretRotationOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretRotationOutput) ElementType() reflect.Type
func (GetRegionalSecretRotationOutput) NextRotationTime ¶ added in v8.3.0
func (o GetRegionalSecretRotationOutput) NextRotationTime() pulumi.StringOutput
Timestamp in UTC at which the Secret is scheduled to rotate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (GetRegionalSecretRotationOutput) RotationPeriod ¶ added in v8.3.0
func (o GetRegionalSecretRotationOutput) RotationPeriod() pulumi.StringOutput
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications.
func (GetRegionalSecretRotationOutput) ToGetRegionalSecretRotationOutput ¶ added in v8.3.0
func (o GetRegionalSecretRotationOutput) ToGetRegionalSecretRotationOutput() GetRegionalSecretRotationOutput
func (GetRegionalSecretRotationOutput) ToGetRegionalSecretRotationOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretRotationOutput) ToGetRegionalSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretRotationOutput
type GetRegionalSecretTopic ¶ added in v8.3.0
type GetRegionalSecretTopic struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: // projects/*/topics/*. For publication to succeed, the Secret Manager Service // Agent service account must have pubsub.publisher permissions on the topic. Name string `pulumi:"name"` }
type GetRegionalSecretTopicArgs ¶ added in v8.3.0
type GetRegionalSecretTopicArgs struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: // projects/*/topics/*. For publication to succeed, the Secret Manager Service // Agent service account must have pubsub.publisher permissions on the topic. Name pulumi.StringInput `pulumi:"name"` }
func (GetRegionalSecretTopicArgs) ElementType ¶ added in v8.3.0
func (GetRegionalSecretTopicArgs) ElementType() reflect.Type
func (GetRegionalSecretTopicArgs) ToGetRegionalSecretTopicOutput ¶ added in v8.3.0
func (i GetRegionalSecretTopicArgs) ToGetRegionalSecretTopicOutput() GetRegionalSecretTopicOutput
func (GetRegionalSecretTopicArgs) ToGetRegionalSecretTopicOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretTopicArgs) ToGetRegionalSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretTopicOutput
type GetRegionalSecretTopicArray ¶ added in v8.3.0
type GetRegionalSecretTopicArray []GetRegionalSecretTopicInput
func (GetRegionalSecretTopicArray) ElementType ¶ added in v8.3.0
func (GetRegionalSecretTopicArray) ElementType() reflect.Type
func (GetRegionalSecretTopicArray) ToGetRegionalSecretTopicArrayOutput ¶ added in v8.3.0
func (i GetRegionalSecretTopicArray) ToGetRegionalSecretTopicArrayOutput() GetRegionalSecretTopicArrayOutput
func (GetRegionalSecretTopicArray) ToGetRegionalSecretTopicArrayOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretTopicArray) ToGetRegionalSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretTopicArrayOutput
type GetRegionalSecretTopicArrayInput ¶ added in v8.3.0
type GetRegionalSecretTopicArrayInput interface { pulumi.Input ToGetRegionalSecretTopicArrayOutput() GetRegionalSecretTopicArrayOutput ToGetRegionalSecretTopicArrayOutputWithContext(context.Context) GetRegionalSecretTopicArrayOutput }
GetRegionalSecretTopicArrayInput is an input type that accepts GetRegionalSecretTopicArray and GetRegionalSecretTopicArrayOutput values. You can construct a concrete instance of `GetRegionalSecretTopicArrayInput` via:
GetRegionalSecretTopicArray{ GetRegionalSecretTopicArgs{...} }
type GetRegionalSecretTopicArrayOutput ¶ added in v8.3.0
type GetRegionalSecretTopicArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretTopicArrayOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretTopicArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretTopicArrayOutput) Index ¶ added in v8.3.0
func (o GetRegionalSecretTopicArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretTopicOutput
func (GetRegionalSecretTopicArrayOutput) ToGetRegionalSecretTopicArrayOutput ¶ added in v8.3.0
func (o GetRegionalSecretTopicArrayOutput) ToGetRegionalSecretTopicArrayOutput() GetRegionalSecretTopicArrayOutput
func (GetRegionalSecretTopicArrayOutput) ToGetRegionalSecretTopicArrayOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretTopicArrayOutput) ToGetRegionalSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretTopicArrayOutput
type GetRegionalSecretTopicInput ¶ added in v8.3.0
type GetRegionalSecretTopicInput interface { pulumi.Input ToGetRegionalSecretTopicOutput() GetRegionalSecretTopicOutput ToGetRegionalSecretTopicOutputWithContext(context.Context) GetRegionalSecretTopicOutput }
GetRegionalSecretTopicInput is an input type that accepts GetRegionalSecretTopicArgs and GetRegionalSecretTopicOutput values. You can construct a concrete instance of `GetRegionalSecretTopicInput` via:
GetRegionalSecretTopicArgs{...}
type GetRegionalSecretTopicOutput ¶ added in v8.3.0
type GetRegionalSecretTopicOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretTopicOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretTopicOutput) ElementType() reflect.Type
func (GetRegionalSecretTopicOutput) Name ¶ added in v8.3.0
func (o GetRegionalSecretTopicOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
func (GetRegionalSecretTopicOutput) ToGetRegionalSecretTopicOutput ¶ added in v8.3.0
func (o GetRegionalSecretTopicOutput) ToGetRegionalSecretTopicOutput() GetRegionalSecretTopicOutput
func (GetRegionalSecretTopicOutput) ToGetRegionalSecretTopicOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretTopicOutput) ToGetRegionalSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretTopicOutput
type GetRegionalSecretVersionAccessArgs ¶ added in v8.4.0
type GetRegionalSecretVersionAccessArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` // Location of Secret Manager regional secret resource. // It must be provided when the `secret` field provided consists of only the name of the regional secret. Location *string `pulumi:"location"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` // The regional secret to get the secret version for. // This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided. Secret string `pulumi:"secret"` // The version of the regional secret to get. If it // is not provided, the latest version is retrieved. Version *string `pulumi:"version"` }
A collection of arguments for invoking getRegionalSecretVersionAccess.
type GetRegionalSecretVersionAccessOutputArgs ¶ added in v8.4.0
type GetRegionalSecretVersionAccessOutputArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 pulumi.BoolPtrInput `pulumi:"isSecretDataBase64"` // Location of Secret Manager regional secret resource. // It must be provided when the `secret` field provided consists of only the name of the regional secret. Location pulumi.StringPtrInput `pulumi:"location"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` // The regional secret to get the secret version for. // This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided. Secret pulumi.StringInput `pulumi:"secret"` // The version of the regional secret to get. If it // is not provided, the latest version is retrieved. Version pulumi.StringPtrInput `pulumi:"version"` }
A collection of arguments for invoking getRegionalSecretVersionAccess.
func (GetRegionalSecretVersionAccessOutputArgs) ElementType ¶ added in v8.4.0
func (GetRegionalSecretVersionAccessOutputArgs) ElementType() reflect.Type
type GetRegionalSecretVersionAccessResult ¶ added in v8.4.0
type GetRegionalSecretVersionAccessResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` Location string `pulumi:"location"` // The resource name of the regional SecretVersion. Format: // `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}` Name string `pulumi:"name"` Project string `pulumi:"project"` Secret string `pulumi:"secret"` // The secret data. No larger than 64KiB. SecretData string `pulumi:"secretData"` Version string `pulumi:"version"` }
A collection of values returned by getRegionalSecretVersionAccess.
func GetRegionalSecretVersionAccess ¶ added in v8.4.0
func GetRegionalSecretVersionAccess(ctx *pulumi.Context, args *GetRegionalSecretVersionAccessArgs, opts ...pulumi.InvokeOption) (*GetRegionalSecretVersionAccessResult, error)
Get the value from a Secret Manager regional secret version. This is similar to the secretmanager.RegionalSecretVersion datasource, but it only requires the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets.versions/access).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.GetRegionalSecretVersionAccess(ctx, &secretmanager.GetRegionalSecretVersionAccessArgs{ Secret: "my-secret", Location: pulumi.StringRef("us-central1"), }, nil) if err != nil { return err } return nil }) }
```
type GetRegionalSecretVersionAccessResultOutput ¶ added in v8.4.0
type GetRegionalSecretVersionAccessResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegionalSecretVersionAccess.
func GetRegionalSecretVersionAccessOutput ¶ added in v8.4.0
func GetRegionalSecretVersionAccessOutput(ctx *pulumi.Context, args GetRegionalSecretVersionAccessOutputArgs, opts ...pulumi.InvokeOption) GetRegionalSecretVersionAccessResultOutput
func (GetRegionalSecretVersionAccessResultOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretVersionAccessResultOutput) ElementType() reflect.Type
func (GetRegionalSecretVersionAccessResultOutput) Id ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRegionalSecretVersionAccessResultOutput) IsSecretDataBase64 ¶ added in v8.7.0
func (o GetRegionalSecretVersionAccessResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
func (GetRegionalSecretVersionAccessResultOutput) Location ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) Location() pulumi.StringOutput
func (GetRegionalSecretVersionAccessResultOutput) Name ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) Name() pulumi.StringOutput
The resource name of the regional SecretVersion. Format: `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}`
func (GetRegionalSecretVersionAccessResultOutput) Project ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) Project() pulumi.StringOutput
func (GetRegionalSecretVersionAccessResultOutput) Secret ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) Secret() pulumi.StringOutput
func (GetRegionalSecretVersionAccessResultOutput) SecretData ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) SecretData() pulumi.StringOutput
The secret data. No larger than 64KiB.
func (GetRegionalSecretVersionAccessResultOutput) ToGetRegionalSecretVersionAccessResultOutput ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) ToGetRegionalSecretVersionAccessResultOutput() GetRegionalSecretVersionAccessResultOutput
func (GetRegionalSecretVersionAccessResultOutput) ToGetRegionalSecretVersionAccessResultOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) ToGetRegionalSecretVersionAccessResultOutputWithContext(ctx context.Context) GetRegionalSecretVersionAccessResultOutput
func (GetRegionalSecretVersionAccessResultOutput) Version ¶ added in v8.4.0
func (o GetRegionalSecretVersionAccessResultOutput) Version() pulumi.StringOutput
type GetRegionalSecretVersionCustomerManagedEncryption ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryption struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyVersionName string `pulumi:"kmsKeyVersionName"` }
type GetRegionalSecretVersionCustomerManagedEncryptionArgs ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryptionArgs struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyVersionName pulumi.StringInput `pulumi:"kmsKeyVersionName"` }
func (GetRegionalSecretVersionCustomerManagedEncryptionArgs) ElementType ¶ added in v8.3.0
func (GetRegionalSecretVersionCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetRegionalSecretVersionCustomerManagedEncryptionArgs) ToGetRegionalSecretVersionCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (i GetRegionalSecretVersionCustomerManagedEncryptionArgs) ToGetRegionalSecretVersionCustomerManagedEncryptionOutput() GetRegionalSecretVersionCustomerManagedEncryptionOutput
func (GetRegionalSecretVersionCustomerManagedEncryptionArgs) ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretVersionCustomerManagedEncryptionArgs) ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionOutput
type GetRegionalSecretVersionCustomerManagedEncryptionArray ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryptionArray []GetRegionalSecretVersionCustomerManagedEncryptionInput
func (GetRegionalSecretVersionCustomerManagedEncryptionArray) ElementType ¶ added in v8.3.0
func (GetRegionalSecretVersionCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetRegionalSecretVersionCustomerManagedEncryptionArray) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
func (i GetRegionalSecretVersionCustomerManagedEncryptionArray) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
func (GetRegionalSecretVersionCustomerManagedEncryptionArray) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.3.0
func (i GetRegionalSecretVersionCustomerManagedEncryptionArray) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
type GetRegionalSecretVersionCustomerManagedEncryptionArrayInput ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput }
GetRegionalSecretVersionCustomerManagedEncryptionArrayInput is an input type that accepts GetRegionalSecretVersionCustomerManagedEncryptionArray and GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetRegionalSecretVersionCustomerManagedEncryptionArrayInput` via:
GetRegionalSecretVersionCustomerManagedEncryptionArray{ GetRegionalSecretVersionCustomerManagedEncryptionArgs{...} }
type GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
func (o GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutput() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
func (GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
type GetRegionalSecretVersionCustomerManagedEncryptionInput ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryptionInput interface { pulumi.Input ToGetRegionalSecretVersionCustomerManagedEncryptionOutput() GetRegionalSecretVersionCustomerManagedEncryptionOutput ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(context.Context) GetRegionalSecretVersionCustomerManagedEncryptionOutput }
GetRegionalSecretVersionCustomerManagedEncryptionInput is an input type that accepts GetRegionalSecretVersionCustomerManagedEncryptionArgs and GetRegionalSecretVersionCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetRegionalSecretVersionCustomerManagedEncryptionInput` via:
GetRegionalSecretVersionCustomerManagedEncryptionArgs{...}
type GetRegionalSecretVersionCustomerManagedEncryptionOutput ¶ added in v8.3.0
type GetRegionalSecretVersionCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretVersionCustomerManagedEncryptionOutput) ElementType ¶ added in v8.3.0
func (GetRegionalSecretVersionCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetRegionalSecretVersionCustomerManagedEncryptionOutput) KmsKeyVersionName ¶ added in v8.3.0
func (o GetRegionalSecretVersionCustomerManagedEncryptionOutput) KmsKeyVersionName() pulumi.StringOutput
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
func (GetRegionalSecretVersionCustomerManagedEncryptionOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (o GetRegionalSecretVersionCustomerManagedEncryptionOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionOutput() GetRegionalSecretVersionCustomerManagedEncryptionOutput
func (GetRegionalSecretVersionCustomerManagedEncryptionOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (o GetRegionalSecretVersionCustomerManagedEncryptionOutput) ToGetRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretVersionCustomerManagedEncryptionOutput
type GetRegionalSecretsArgs ¶ added in v8.4.0
type GetRegionalSecretsArgs struct { // Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all regional secrets are listed from the specified location. Filter *string `pulumi:"filter"` // The location of the regional secret. Location string `pulumi:"location"` // The ID of the project. Project *string `pulumi:"project"` }
A collection of arguments for invoking getRegionalSecrets.
type GetRegionalSecretsOutputArgs ¶ added in v8.4.0
type GetRegionalSecretsOutputArgs struct { // Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all regional secrets are listed from the specified location. Filter pulumi.StringPtrInput `pulumi:"filter"` // The location of the regional secret. Location pulumi.StringInput `pulumi:"location"` // The ID of the project. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getRegionalSecrets.
func (GetRegionalSecretsOutputArgs) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsOutputArgs) ElementType() reflect.Type
type GetRegionalSecretsResult ¶ added in v8.4.0
type GetRegionalSecretsResult struct { Filter *string `pulumi:"filter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The location in which the resource belongs. Location string `pulumi:"location"` // The ID of the project in which the resource belongs. Project string `pulumi:"project"` // A list of regional secrets present in the specified location and matching the filter. Structure is defined below. Secrets []GetRegionalSecretsSecret `pulumi:"secrets"` }
A collection of values returned by getRegionalSecrets.
func GetRegionalSecrets ¶ added in v8.4.0
func GetRegionalSecrets(ctx *pulumi.Context, args *GetRegionalSecretsArgs, opts ...pulumi.InvokeOption) (*GetRegionalSecretsResult, error)
Use this data source to list the Secret Manager Regional Secrets.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.GetRegionalSecrets(ctx, &secretmanager.GetRegionalSecretsArgs{ Location: "us-central1", }, nil) if err != nil { return err } return nil }) }
```
type GetRegionalSecretsResultOutput ¶ added in v8.4.0
type GetRegionalSecretsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegionalSecrets.
func GetRegionalSecretsOutput ¶ added in v8.4.0
func GetRegionalSecretsOutput(ctx *pulumi.Context, args GetRegionalSecretsOutputArgs, opts ...pulumi.InvokeOption) GetRegionalSecretsResultOutput
func (GetRegionalSecretsResultOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsResultOutput) ElementType() reflect.Type
func (GetRegionalSecretsResultOutput) Filter ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) Filter() pulumi.StringPtrOutput
func (GetRegionalSecretsResultOutput) Id ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRegionalSecretsResultOutput) Location ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) Location() pulumi.StringOutput
The location in which the resource belongs.
func (GetRegionalSecretsResultOutput) Project ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs.
func (GetRegionalSecretsResultOutput) Secrets ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) Secrets() GetRegionalSecretsSecretArrayOutput
A list of regional secrets present in the specified location and matching the filter. Structure is defined below.
func (GetRegionalSecretsResultOutput) ToGetRegionalSecretsResultOutput ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) ToGetRegionalSecretsResultOutput() GetRegionalSecretsResultOutput
func (GetRegionalSecretsResultOutput) ToGetRegionalSecretsResultOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsResultOutput) ToGetRegionalSecretsResultOutputWithContext(ctx context.Context) GetRegionalSecretsResultOutput
type GetRegionalSecretsSecret ¶ added in v8.4.0
type GetRegionalSecretsSecret struct { // Custom metadata about the regional secret. Annotations map[string]string `pulumi:"annotations"` // The time at which the regional secret was created. CreateTime string `pulumi:"createTime"` // Customer Managed Encryption for the regional secret. // Structure is documented below. CustomerManagedEncryptions []GetRegionalSecretsSecretCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` EffectiveAnnotations map[string]string `pulumi:"effectiveAnnotations"` EffectiveLabels map[string]string `pulumi:"effectiveLabels"` // Timestamp in UTC when the regional secret is scheduled to expire. ExpireTime string `pulumi:"expireTime"` // The labels assigned to this regional secret. Labels map[string]string `pulumi:"labels"` // The location of the regional secret. Location string `pulumi:"location"` // The resource name of the Pub/Sub topic that will be published to. Name string `pulumi:"name"` // The ID of the project. Project string `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels map[string]string `pulumi:"pulumiLabels"` // The rotation time and period for a regional secret. // Structure is documented below. Rotations []GetRegionalSecretsSecretRotation `pulumi:"rotations"` // The unique name of the resource. SecretId string `pulumi:"secretId"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions. // Structure is documented below. Topics []GetRegionalSecretsSecretTopic `pulumi:"topics"` // The TTL for the regional secret. A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided. Ttl string `pulumi:"ttl"` // Mapping from version alias to version name. VersionAliases map[string]string `pulumi:"versionAliases"` // The version destroy ttl for the regional secret version. VersionDestroyTtl string `pulumi:"versionDestroyTtl"` }
type GetRegionalSecretsSecretArgs ¶ added in v8.4.0
type GetRegionalSecretsSecretArgs struct { // Custom metadata about the regional secret. Annotations pulumi.StringMapInput `pulumi:"annotations"` // The time at which the regional secret was created. CreateTime pulumi.StringInput `pulumi:"createTime"` // Customer Managed Encryption for the regional secret. // Structure is documented below. CustomerManagedEncryptions GetRegionalSecretsSecretCustomerManagedEncryptionArrayInput `pulumi:"customerManagedEncryptions"` EffectiveAnnotations pulumi.StringMapInput `pulumi:"effectiveAnnotations"` EffectiveLabels pulumi.StringMapInput `pulumi:"effectiveLabels"` // Timestamp in UTC when the regional secret is scheduled to expire. ExpireTime pulumi.StringInput `pulumi:"expireTime"` // The labels assigned to this regional secret. Labels pulumi.StringMapInput `pulumi:"labels"` // The location of the regional secret. Location pulumi.StringInput `pulumi:"location"` // The resource name of the Pub/Sub topic that will be published to. Name pulumi.StringInput `pulumi:"name"` // The ID of the project. Project pulumi.StringInput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput `pulumi:"pulumiLabels"` // The rotation time and period for a regional secret. // Structure is documented below. Rotations GetRegionalSecretsSecretRotationArrayInput `pulumi:"rotations"` // The unique name of the resource. SecretId pulumi.StringInput `pulumi:"secretId"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions. // Structure is documented below. Topics GetRegionalSecretsSecretTopicArrayInput `pulumi:"topics"` // The TTL for the regional secret. A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided. Ttl pulumi.StringInput `pulumi:"ttl"` // Mapping from version alias to version name. VersionAliases pulumi.StringMapInput `pulumi:"versionAliases"` // The version destroy ttl for the regional secret version. VersionDestroyTtl pulumi.StringInput `pulumi:"versionDestroyTtl"` }
func (GetRegionalSecretsSecretArgs) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretArgs) ElementType() reflect.Type
func (GetRegionalSecretsSecretArgs) ToGetRegionalSecretsSecretOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretArgs) ToGetRegionalSecretsSecretOutput() GetRegionalSecretsSecretOutput
func (GetRegionalSecretsSecretArgs) ToGetRegionalSecretsSecretOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretArgs) ToGetRegionalSecretsSecretOutputWithContext(ctx context.Context) GetRegionalSecretsSecretOutput
type GetRegionalSecretsSecretArray ¶ added in v8.4.0
type GetRegionalSecretsSecretArray []GetRegionalSecretsSecretInput
func (GetRegionalSecretsSecretArray) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretArray) ElementType() reflect.Type
func (GetRegionalSecretsSecretArray) ToGetRegionalSecretsSecretArrayOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretArray) ToGetRegionalSecretsSecretArrayOutput() GetRegionalSecretsSecretArrayOutput
func (GetRegionalSecretsSecretArray) ToGetRegionalSecretsSecretArrayOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretArray) ToGetRegionalSecretsSecretArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretArrayOutput
type GetRegionalSecretsSecretArrayInput ¶ added in v8.4.0
type GetRegionalSecretsSecretArrayInput interface { pulumi.Input ToGetRegionalSecretsSecretArrayOutput() GetRegionalSecretsSecretArrayOutput ToGetRegionalSecretsSecretArrayOutputWithContext(context.Context) GetRegionalSecretsSecretArrayOutput }
GetRegionalSecretsSecretArrayInput is an input type that accepts GetRegionalSecretsSecretArray and GetRegionalSecretsSecretArrayOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretArrayInput` via:
GetRegionalSecretsSecretArray{ GetRegionalSecretsSecretArgs{...} }
type GetRegionalSecretsSecretArrayOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretArrayOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretArrayOutput) Index ¶ added in v8.4.0
func (o GetRegionalSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetRegionalSecretsSecretOutput
func (GetRegionalSecretsSecretArrayOutput) ToGetRegionalSecretsSecretArrayOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretArrayOutput) ToGetRegionalSecretsSecretArrayOutput() GetRegionalSecretsSecretArrayOutput
func (GetRegionalSecretsSecretArrayOutput) ToGetRegionalSecretsSecretArrayOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretArrayOutput) ToGetRegionalSecretsSecretArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretArrayOutput
type GetRegionalSecretsSecretCustomerManagedEncryption ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryption struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName string `pulumi:"kmsKeyName"` }
type GetRegionalSecretsSecretCustomerManagedEncryptionArgs ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryptionArgs struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput() GetRegionalSecretsSecretCustomerManagedEncryptionOutput
func (GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretCustomerManagedEncryptionArgs) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionOutput
type GetRegionalSecretsSecretCustomerManagedEncryptionArray ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryptionArray []GetRegionalSecretsSecretCustomerManagedEncryptionInput
func (GetRegionalSecretsSecretCustomerManagedEncryptionArray) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetRegionalSecretsSecretCustomerManagedEncryptionArray) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretCustomerManagedEncryptionArray) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
func (GetRegionalSecretsSecretCustomerManagedEncryptionArray) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretCustomerManagedEncryptionArray) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
type GetRegionalSecretsSecretCustomerManagedEncryptionArrayInput ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput }
GetRegionalSecretsSecretCustomerManagedEncryptionArrayInput is an input type that accepts GetRegionalSecretsSecretCustomerManagedEncryptionArray and GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretCustomerManagedEncryptionArrayInput` via:
GetRegionalSecretsSecretCustomerManagedEncryptionArray{ GetRegionalSecretsSecretCustomerManagedEncryptionArgs{...} }
type GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
func (GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
type GetRegionalSecretsSecretCustomerManagedEncryptionInput ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryptionInput interface { pulumi.Input ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput() GetRegionalSecretsSecretCustomerManagedEncryptionOutput ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext(context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionOutput }
GetRegionalSecretsSecretCustomerManagedEncryptionInput is an input type that accepts GetRegionalSecretsSecretCustomerManagedEncryptionArgs and GetRegionalSecretsSecretCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretCustomerManagedEncryptionInput` via:
GetRegionalSecretsSecretCustomerManagedEncryptionArgs{...}
type GetRegionalSecretsSecretCustomerManagedEncryptionOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretCustomerManagedEncryptionOutput) KmsKeyName ¶ added in v8.4.0
func (o GetRegionalSecretsSecretCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
func (GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutput() GetRegionalSecretsSecretCustomerManagedEncryptionOutput
func (GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretCustomerManagedEncryptionOutput) ToGetRegionalSecretsSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetRegionalSecretsSecretCustomerManagedEncryptionOutput
type GetRegionalSecretsSecretInput ¶ added in v8.4.0
type GetRegionalSecretsSecretInput interface { pulumi.Input ToGetRegionalSecretsSecretOutput() GetRegionalSecretsSecretOutput ToGetRegionalSecretsSecretOutputWithContext(context.Context) GetRegionalSecretsSecretOutput }
GetRegionalSecretsSecretInput is an input type that accepts GetRegionalSecretsSecretArgs and GetRegionalSecretsSecretOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretInput` via:
GetRegionalSecretsSecretArgs{...}
type GetRegionalSecretsSecretOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretOutput) Annotations ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Annotations() pulumi.StringMapOutput
Custom metadata about the regional secret.
func (GetRegionalSecretsSecretOutput) CreateTime ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) CreateTime() pulumi.StringOutput
The time at which the regional secret was created.
func (GetRegionalSecretsSecretOutput) CustomerManagedEncryptions ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) CustomerManagedEncryptions() GetRegionalSecretsSecretCustomerManagedEncryptionArrayOutput
Customer Managed Encryption for the regional secret. Structure is documented below.
func (GetRegionalSecretsSecretOutput) EffectiveAnnotations ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (GetRegionalSecretsSecretOutput) EffectiveLabels ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) EffectiveLabels() pulumi.StringMapOutput
func (GetRegionalSecretsSecretOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretOutput) ExpireTime ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) ExpireTime() pulumi.StringOutput
Timestamp in UTC when the regional secret is scheduled to expire.
func (GetRegionalSecretsSecretOutput) Labels ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Labels() pulumi.StringMapOutput
The labels assigned to this regional secret.
func (GetRegionalSecretsSecretOutput) Location ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Location() pulumi.StringOutput
The location of the regional secret.
func (GetRegionalSecretsSecretOutput) Name ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to.
func (GetRegionalSecretsSecretOutput) Project ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Project() pulumi.StringOutput
The ID of the project.
func (GetRegionalSecretsSecretOutput) PulumiLabels ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource
and default labels configured on the provider.
func (GetRegionalSecretsSecretOutput) Rotations ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Rotations() GetRegionalSecretsSecretRotationArrayOutput
The rotation time and period for a regional secret. Structure is documented below.
func (GetRegionalSecretsSecretOutput) SecretId ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) SecretId() pulumi.StringOutput
The unique name of the resource.
func (GetRegionalSecretsSecretOutput) ToGetRegionalSecretsSecretOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) ToGetRegionalSecretsSecretOutput() GetRegionalSecretsSecretOutput
func (GetRegionalSecretsSecretOutput) ToGetRegionalSecretsSecretOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) ToGetRegionalSecretsSecretOutputWithContext(ctx context.Context) GetRegionalSecretsSecretOutput
func (GetRegionalSecretsSecretOutput) Topics ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Topics() GetRegionalSecretsSecretTopicArrayOutput
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions. Structure is documented below.
func (GetRegionalSecretsSecretOutput) Ttl ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) Ttl() pulumi.StringOutput
The TTL for the regional secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided.
func (GetRegionalSecretsSecretOutput) VersionAliases ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) VersionAliases() pulumi.StringMapOutput
Mapping from version alias to version name.
func (GetRegionalSecretsSecretOutput) VersionDestroyTtl ¶ added in v8.4.0
func (o GetRegionalSecretsSecretOutput) VersionDestroyTtl() pulumi.StringOutput
The version destroy ttl for the regional secret version.
type GetRegionalSecretsSecretRotation ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationArgs ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationArgs struct { // Timestamp in UTC at which the secret is scheduled to rotate. NextRotationTime pulumi.StringInput `pulumi:"nextRotationTime"` // The Duration between rotation notifications. RotationPeriod pulumi.StringInput `pulumi:"rotationPeriod"` }
func (GetRegionalSecretsSecretRotationArgs) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretRotationArgs) ElementType() reflect.Type
func (GetRegionalSecretsSecretRotationArgs) ToGetRegionalSecretsSecretRotationOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretRotationArgs) ToGetRegionalSecretsSecretRotationOutput() GetRegionalSecretsSecretRotationOutput
func (GetRegionalSecretsSecretRotationArgs) ToGetRegionalSecretsSecretRotationOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretRotationArgs) ToGetRegionalSecretsSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationOutput
type GetRegionalSecretsSecretRotationArray ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationArray []GetRegionalSecretsSecretRotationInput
func (GetRegionalSecretsSecretRotationArray) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretRotationArray) ElementType() reflect.Type
func (GetRegionalSecretsSecretRotationArray) ToGetRegionalSecretsSecretRotationArrayOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretRotationArray) ToGetRegionalSecretsSecretRotationArrayOutput() GetRegionalSecretsSecretRotationArrayOutput
func (GetRegionalSecretsSecretRotationArray) ToGetRegionalSecretsSecretRotationArrayOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretRotationArray) ToGetRegionalSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationArrayOutput
type GetRegionalSecretsSecretRotationArrayInput ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationArrayInput interface { pulumi.Input ToGetRegionalSecretsSecretRotationArrayOutput() GetRegionalSecretsSecretRotationArrayOutput ToGetRegionalSecretsSecretRotationArrayOutputWithContext(context.Context) GetRegionalSecretsSecretRotationArrayOutput }
GetRegionalSecretsSecretRotationArrayInput is an input type that accepts GetRegionalSecretsSecretRotationArray and GetRegionalSecretsSecretRotationArrayOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretRotationArrayInput` via:
GetRegionalSecretsSecretRotationArray{ GetRegionalSecretsSecretRotationArgs{...} }
type GetRegionalSecretsSecretRotationArrayOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretRotationArrayOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretRotationArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretRotationArrayOutput) ToGetRegionalSecretsSecretRotationArrayOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretRotationArrayOutput) ToGetRegionalSecretsSecretRotationArrayOutput() GetRegionalSecretsSecretRotationArrayOutput
func (GetRegionalSecretsSecretRotationArrayOutput) ToGetRegionalSecretsSecretRotationArrayOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretRotationArrayOutput) ToGetRegionalSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationArrayOutput
type GetRegionalSecretsSecretRotationInput ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationInput interface { pulumi.Input ToGetRegionalSecretsSecretRotationOutput() GetRegionalSecretsSecretRotationOutput ToGetRegionalSecretsSecretRotationOutputWithContext(context.Context) GetRegionalSecretsSecretRotationOutput }
GetRegionalSecretsSecretRotationInput is an input type that accepts GetRegionalSecretsSecretRotationArgs and GetRegionalSecretsSecretRotationOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretRotationInput` via:
GetRegionalSecretsSecretRotationArgs{...}
type GetRegionalSecretsSecretRotationOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretRotationOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretRotationOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretRotationOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretRotationOutput) NextRotationTime ¶ added in v8.4.0
func (o GetRegionalSecretsSecretRotationOutput) NextRotationTime() pulumi.StringOutput
Timestamp in UTC at which the secret is scheduled to rotate.
func (GetRegionalSecretsSecretRotationOutput) RotationPeriod ¶ added in v8.4.0
func (o GetRegionalSecretsSecretRotationOutput) RotationPeriod() pulumi.StringOutput
The Duration between rotation notifications.
func (GetRegionalSecretsSecretRotationOutput) ToGetRegionalSecretsSecretRotationOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretRotationOutput) ToGetRegionalSecretsSecretRotationOutput() GetRegionalSecretsSecretRotationOutput
func (GetRegionalSecretsSecretRotationOutput) ToGetRegionalSecretsSecretRotationOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretRotationOutput) ToGetRegionalSecretsSecretRotationOutputWithContext(ctx context.Context) GetRegionalSecretsSecretRotationOutput
type GetRegionalSecretsSecretTopic ¶ added in v8.4.0
type GetRegionalSecretsSecretTopic struct { // The resource name of the Pub/Sub topic that will be published to. Name string `pulumi:"name"` }
type GetRegionalSecretsSecretTopicArgs ¶ added in v8.4.0
type GetRegionalSecretsSecretTopicArgs struct { // The resource name of the Pub/Sub topic that will be published to. Name pulumi.StringInput `pulumi:"name"` }
func (GetRegionalSecretsSecretTopicArgs) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretTopicArgs) ElementType() reflect.Type
func (GetRegionalSecretsSecretTopicArgs) ToGetRegionalSecretsSecretTopicOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretTopicArgs) ToGetRegionalSecretsSecretTopicOutput() GetRegionalSecretsSecretTopicOutput
func (GetRegionalSecretsSecretTopicArgs) ToGetRegionalSecretsSecretTopicOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretTopicArgs) ToGetRegionalSecretsSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicOutput
type GetRegionalSecretsSecretTopicArray ¶ added in v8.4.0
type GetRegionalSecretsSecretTopicArray []GetRegionalSecretsSecretTopicInput
func (GetRegionalSecretsSecretTopicArray) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretTopicArray) ElementType() reflect.Type
func (GetRegionalSecretsSecretTopicArray) ToGetRegionalSecretsSecretTopicArrayOutput ¶ added in v8.4.0
func (i GetRegionalSecretsSecretTopicArray) ToGetRegionalSecretsSecretTopicArrayOutput() GetRegionalSecretsSecretTopicArrayOutput
func (GetRegionalSecretsSecretTopicArray) ToGetRegionalSecretsSecretTopicArrayOutputWithContext ¶ added in v8.4.0
func (i GetRegionalSecretsSecretTopicArray) ToGetRegionalSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicArrayOutput
type GetRegionalSecretsSecretTopicArrayInput ¶ added in v8.4.0
type GetRegionalSecretsSecretTopicArrayInput interface { pulumi.Input ToGetRegionalSecretsSecretTopicArrayOutput() GetRegionalSecretsSecretTopicArrayOutput ToGetRegionalSecretsSecretTopicArrayOutputWithContext(context.Context) GetRegionalSecretsSecretTopicArrayOutput }
GetRegionalSecretsSecretTopicArrayInput is an input type that accepts GetRegionalSecretsSecretTopicArray and GetRegionalSecretsSecretTopicArrayOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretTopicArrayInput` via:
GetRegionalSecretsSecretTopicArray{ GetRegionalSecretsSecretTopicArgs{...} }
type GetRegionalSecretsSecretTopicArrayOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretTopicArrayOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretTopicArrayOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretTopicArrayOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretTopicArrayOutput) ToGetRegionalSecretsSecretTopicArrayOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretTopicArrayOutput) ToGetRegionalSecretsSecretTopicArrayOutput() GetRegionalSecretsSecretTopicArrayOutput
func (GetRegionalSecretsSecretTopicArrayOutput) ToGetRegionalSecretsSecretTopicArrayOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretTopicArrayOutput) ToGetRegionalSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicArrayOutput
type GetRegionalSecretsSecretTopicInput ¶ added in v8.4.0
type GetRegionalSecretsSecretTopicInput interface { pulumi.Input ToGetRegionalSecretsSecretTopicOutput() GetRegionalSecretsSecretTopicOutput ToGetRegionalSecretsSecretTopicOutputWithContext(context.Context) GetRegionalSecretsSecretTopicOutput }
GetRegionalSecretsSecretTopicInput is an input type that accepts GetRegionalSecretsSecretTopicArgs and GetRegionalSecretsSecretTopicOutput values. You can construct a concrete instance of `GetRegionalSecretsSecretTopicInput` via:
GetRegionalSecretsSecretTopicArgs{...}
type GetRegionalSecretsSecretTopicOutput ¶ added in v8.4.0
type GetRegionalSecretsSecretTopicOutput struct{ *pulumi.OutputState }
func (GetRegionalSecretsSecretTopicOutput) ElementType ¶ added in v8.4.0
func (GetRegionalSecretsSecretTopicOutput) ElementType() reflect.Type
func (GetRegionalSecretsSecretTopicOutput) Name ¶ added in v8.4.0
func (o GetRegionalSecretsSecretTopicOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to.
func (GetRegionalSecretsSecretTopicOutput) ToGetRegionalSecretsSecretTopicOutput ¶ added in v8.4.0
func (o GetRegionalSecretsSecretTopicOutput) ToGetRegionalSecretsSecretTopicOutput() GetRegionalSecretsSecretTopicOutput
func (GetRegionalSecretsSecretTopicOutput) ToGetRegionalSecretsSecretTopicOutputWithContext ¶ added in v8.4.0
func (o GetRegionalSecretsSecretTopicOutput) ToGetRegionalSecretsSecretTopicOutputWithContext(ctx context.Context) GetRegionalSecretsSecretTopicOutput
type GetSecretReplication ¶
type GetSecretReplication struct { // The Secret will automatically be replicated without any restrictions. Autos []GetSecretReplicationAuto `pulumi:"autos"` // The Secret will be replicated to the regions specified by the user. UserManageds []GetSecretReplicationUserManaged `pulumi:"userManageds"` }
type GetSecretReplicationArgs ¶
type GetSecretReplicationArgs struct { // The Secret will automatically be replicated without any restrictions. Autos GetSecretReplicationAutoArrayInput `pulumi:"autos"` // The Secret will be replicated to the regions specified by the user. UserManageds GetSecretReplicationUserManagedArrayInput `pulumi:"userManageds"` }
func (GetSecretReplicationArgs) ElementType ¶
func (GetSecretReplicationArgs) ElementType() reflect.Type
func (GetSecretReplicationArgs) ToGetSecretReplicationOutput ¶
func (i GetSecretReplicationArgs) ToGetSecretReplicationOutput() GetSecretReplicationOutput
func (GetSecretReplicationArgs) ToGetSecretReplicationOutputWithContext ¶
func (i GetSecretReplicationArgs) ToGetSecretReplicationOutputWithContext(ctx context.Context) GetSecretReplicationOutput
type GetSecretReplicationArray ¶
type GetSecretReplicationArray []GetSecretReplicationInput
func (GetSecretReplicationArray) ElementType ¶
func (GetSecretReplicationArray) ElementType() reflect.Type
func (GetSecretReplicationArray) ToGetSecretReplicationArrayOutput ¶
func (i GetSecretReplicationArray) ToGetSecretReplicationArrayOutput() GetSecretReplicationArrayOutput
func (GetSecretReplicationArray) ToGetSecretReplicationArrayOutputWithContext ¶
func (i GetSecretReplicationArray) ToGetSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretReplicationArrayOutput
type GetSecretReplicationArrayInput ¶
type GetSecretReplicationArrayInput interface { pulumi.Input ToGetSecretReplicationArrayOutput() GetSecretReplicationArrayOutput ToGetSecretReplicationArrayOutputWithContext(context.Context) GetSecretReplicationArrayOutput }
GetSecretReplicationArrayInput is an input type that accepts GetSecretReplicationArray and GetSecretReplicationArrayOutput values. You can construct a concrete instance of `GetSecretReplicationArrayInput` via:
GetSecretReplicationArray{ GetSecretReplicationArgs{...} }
type GetSecretReplicationArrayOutput ¶
type GetSecretReplicationArrayOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationArrayOutput) ElementType ¶
func (GetSecretReplicationArrayOutput) ElementType() reflect.Type
func (GetSecretReplicationArrayOutput) Index ¶
func (o GetSecretReplicationArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationOutput
func (GetSecretReplicationArrayOutput) ToGetSecretReplicationArrayOutput ¶
func (o GetSecretReplicationArrayOutput) ToGetSecretReplicationArrayOutput() GetSecretReplicationArrayOutput
func (GetSecretReplicationArrayOutput) ToGetSecretReplicationArrayOutputWithContext ¶
func (o GetSecretReplicationArrayOutput) ToGetSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretReplicationArrayOutput
type GetSecretReplicationAuto ¶
type GetSecretReplicationAuto struct { // The customer-managed encryption configuration of the Secret. // If no configuration is provided, Google-managed default // encryption is used. CustomerManagedEncryptions []GetSecretReplicationAutoCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` }
type GetSecretReplicationAutoArgs ¶
type GetSecretReplicationAutoArgs struct { // The customer-managed encryption configuration of the Secret. // If no configuration is provided, Google-managed default // encryption is used. CustomerManagedEncryptions GetSecretReplicationAutoCustomerManagedEncryptionArrayInput `pulumi:"customerManagedEncryptions"` }
func (GetSecretReplicationAutoArgs) ElementType ¶
func (GetSecretReplicationAutoArgs) ElementType() reflect.Type
func (GetSecretReplicationAutoArgs) ToGetSecretReplicationAutoOutput ¶
func (i GetSecretReplicationAutoArgs) ToGetSecretReplicationAutoOutput() GetSecretReplicationAutoOutput
func (GetSecretReplicationAutoArgs) ToGetSecretReplicationAutoOutputWithContext ¶
func (i GetSecretReplicationAutoArgs) ToGetSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretReplicationAutoOutput
type GetSecretReplicationAutoArray ¶
type GetSecretReplicationAutoArray []GetSecretReplicationAutoInput
func (GetSecretReplicationAutoArray) ElementType ¶
func (GetSecretReplicationAutoArray) ElementType() reflect.Type
func (GetSecretReplicationAutoArray) ToGetSecretReplicationAutoArrayOutput ¶
func (i GetSecretReplicationAutoArray) ToGetSecretReplicationAutoArrayOutput() GetSecretReplicationAutoArrayOutput
func (GetSecretReplicationAutoArray) ToGetSecretReplicationAutoArrayOutputWithContext ¶
func (i GetSecretReplicationAutoArray) ToGetSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoArrayOutput
type GetSecretReplicationAutoArrayInput ¶
type GetSecretReplicationAutoArrayInput interface { pulumi.Input ToGetSecretReplicationAutoArrayOutput() GetSecretReplicationAutoArrayOutput ToGetSecretReplicationAutoArrayOutputWithContext(context.Context) GetSecretReplicationAutoArrayOutput }
GetSecretReplicationAutoArrayInput is an input type that accepts GetSecretReplicationAutoArray and GetSecretReplicationAutoArrayOutput values. You can construct a concrete instance of `GetSecretReplicationAutoArrayInput` via:
GetSecretReplicationAutoArray{ GetSecretReplicationAutoArgs{...} }
type GetSecretReplicationAutoArrayOutput ¶
type GetSecretReplicationAutoArrayOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationAutoArrayOutput) ElementType ¶
func (GetSecretReplicationAutoArrayOutput) ElementType() reflect.Type
func (GetSecretReplicationAutoArrayOutput) Index ¶
func (o GetSecretReplicationAutoArrayOutput) Index(i pulumi.IntInput) GetSecretReplicationAutoOutput
func (GetSecretReplicationAutoArrayOutput) ToGetSecretReplicationAutoArrayOutput ¶
func (o GetSecretReplicationAutoArrayOutput) ToGetSecretReplicationAutoArrayOutput() GetSecretReplicationAutoArrayOutput
func (GetSecretReplicationAutoArrayOutput) ToGetSecretReplicationAutoArrayOutputWithContext ¶
func (o GetSecretReplicationAutoArrayOutput) ToGetSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoArrayOutput
type GetSecretReplicationAutoCustomerManagedEncryption ¶
type GetSecretReplicationAutoCustomerManagedEncryption struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyName string `pulumi:"kmsKeyName"` }
type GetSecretReplicationAutoCustomerManagedEncryptionArgs ¶
type GetSecretReplicationAutoCustomerManagedEncryptionArgs struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (GetSecretReplicationAutoCustomerManagedEncryptionArgs) ElementType ¶
func (GetSecretReplicationAutoCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretReplicationAutoCustomerManagedEncryptionOutput ¶
func (i GetSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretReplicationAutoCustomerManagedEncryptionOutput
func (GetSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext ¶
func (i GetSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionOutput
type GetSecretReplicationAutoCustomerManagedEncryptionArray ¶
type GetSecretReplicationAutoCustomerManagedEncryptionArray []GetSecretReplicationAutoCustomerManagedEncryptionInput
func (GetSecretReplicationAutoCustomerManagedEncryptionArray) ElementType ¶
func (GetSecretReplicationAutoCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput ¶
func (i GetSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
func (GetSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext ¶
func (i GetSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
type GetSecretReplicationAutoCustomerManagedEncryptionArrayInput ¶
type GetSecretReplicationAutoCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput }
GetSecretReplicationAutoCustomerManagedEncryptionArrayInput is an input type that accepts GetSecretReplicationAutoCustomerManagedEncryptionArray and GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetSecretReplicationAutoCustomerManagedEncryptionArrayInput` via:
GetSecretReplicationAutoCustomerManagedEncryptionArray{ GetSecretReplicationAutoCustomerManagedEncryptionArgs{...} }
type GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput ¶
type GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ElementType ¶
func (GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput ¶
func (o GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
func (GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext ¶
func (o GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
type GetSecretReplicationAutoCustomerManagedEncryptionInput ¶
type GetSecretReplicationAutoCustomerManagedEncryptionInput interface { pulumi.Input ToGetSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretReplicationAutoCustomerManagedEncryptionOutput ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(context.Context) GetSecretReplicationAutoCustomerManagedEncryptionOutput }
GetSecretReplicationAutoCustomerManagedEncryptionInput is an input type that accepts GetSecretReplicationAutoCustomerManagedEncryptionArgs and GetSecretReplicationAutoCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetSecretReplicationAutoCustomerManagedEncryptionInput` via:
GetSecretReplicationAutoCustomerManagedEncryptionArgs{...}
type GetSecretReplicationAutoCustomerManagedEncryptionOutput ¶
type GetSecretReplicationAutoCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationAutoCustomerManagedEncryptionOutput) ElementType ¶
func (GetSecretReplicationAutoCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetSecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName ¶
func (o GetSecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
func (GetSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionOutput ¶
func (o GetSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretReplicationAutoCustomerManagedEncryptionOutput
func (GetSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext ¶
func (o GetSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationAutoCustomerManagedEncryptionOutput
type GetSecretReplicationAutoInput ¶
type GetSecretReplicationAutoInput interface { pulumi.Input ToGetSecretReplicationAutoOutput() GetSecretReplicationAutoOutput ToGetSecretReplicationAutoOutputWithContext(context.Context) GetSecretReplicationAutoOutput }
GetSecretReplicationAutoInput is an input type that accepts GetSecretReplicationAutoArgs and GetSecretReplicationAutoOutput values. You can construct a concrete instance of `GetSecretReplicationAutoInput` via:
GetSecretReplicationAutoArgs{...}
type GetSecretReplicationAutoOutput ¶
type GetSecretReplicationAutoOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationAutoOutput) CustomerManagedEncryptions ¶
func (o GetSecretReplicationAutoOutput) CustomerManagedEncryptions() GetSecretReplicationAutoCustomerManagedEncryptionArrayOutput
The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.
func (GetSecretReplicationAutoOutput) ElementType ¶
func (GetSecretReplicationAutoOutput) ElementType() reflect.Type
func (GetSecretReplicationAutoOutput) ToGetSecretReplicationAutoOutput ¶
func (o GetSecretReplicationAutoOutput) ToGetSecretReplicationAutoOutput() GetSecretReplicationAutoOutput
func (GetSecretReplicationAutoOutput) ToGetSecretReplicationAutoOutputWithContext ¶
func (o GetSecretReplicationAutoOutput) ToGetSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretReplicationAutoOutput
type GetSecretReplicationInput ¶
type GetSecretReplicationInput interface { pulumi.Input ToGetSecretReplicationOutput() GetSecretReplicationOutput ToGetSecretReplicationOutputWithContext(context.Context) GetSecretReplicationOutput }
GetSecretReplicationInput is an input type that accepts GetSecretReplicationArgs and GetSecretReplicationOutput values. You can construct a concrete instance of `GetSecretReplicationInput` via:
GetSecretReplicationArgs{...}
type GetSecretReplicationOutput ¶
type GetSecretReplicationOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationOutput) Autos ¶
func (o GetSecretReplicationOutput) Autos() GetSecretReplicationAutoArrayOutput
The Secret will automatically be replicated without any restrictions.
func (GetSecretReplicationOutput) ElementType ¶
func (GetSecretReplicationOutput) ElementType() reflect.Type
func (GetSecretReplicationOutput) ToGetSecretReplicationOutput ¶
func (o GetSecretReplicationOutput) ToGetSecretReplicationOutput() GetSecretReplicationOutput
func (GetSecretReplicationOutput) ToGetSecretReplicationOutputWithContext ¶
func (o GetSecretReplicationOutput) ToGetSecretReplicationOutputWithContext(ctx context.Context) GetSecretReplicationOutput
func (GetSecretReplicationOutput) UserManageds ¶
func (o GetSecretReplicationOutput) UserManageds() GetSecretReplicationUserManagedArrayOutput
The Secret will be replicated to the regions specified by the user.
type GetSecretReplicationUserManaged ¶
type GetSecretReplicationUserManaged struct { // The list of Replicas for this Secret. Cannot be empty. Replicas []GetSecretReplicationUserManagedReplica `pulumi:"replicas"` }
type GetSecretReplicationUserManagedArgs ¶
type GetSecretReplicationUserManagedArgs struct { // The list of Replicas for this Secret. Cannot be empty. Replicas GetSecretReplicationUserManagedReplicaArrayInput `pulumi:"replicas"` }
func (GetSecretReplicationUserManagedArgs) ElementType ¶
func (GetSecretReplicationUserManagedArgs) ElementType() reflect.Type
func (GetSecretReplicationUserManagedArgs) ToGetSecretReplicationUserManagedOutput ¶
func (i GetSecretReplicationUserManagedArgs) ToGetSecretReplicationUserManagedOutput() GetSecretReplicationUserManagedOutput
func (GetSecretReplicationUserManagedArgs) ToGetSecretReplicationUserManagedOutputWithContext ¶
func (i GetSecretReplicationUserManagedArgs) ToGetSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedOutput
type GetSecretReplicationUserManagedArray ¶
type GetSecretReplicationUserManagedArray []GetSecretReplicationUserManagedInput
func (GetSecretReplicationUserManagedArray) ElementType ¶
func (GetSecretReplicationUserManagedArray) ElementType() reflect.Type
func (GetSecretReplicationUserManagedArray) ToGetSecretReplicationUserManagedArrayOutput ¶
func (i GetSecretReplicationUserManagedArray) ToGetSecretReplicationUserManagedArrayOutput() GetSecretReplicationUserManagedArrayOutput
func (GetSecretReplicationUserManagedArray) ToGetSecretReplicationUserManagedArrayOutputWithContext ¶
func (i GetSecretReplicationUserManagedArray) ToGetSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedArrayOutput
type GetSecretReplicationUserManagedArrayInput ¶
type GetSecretReplicationUserManagedArrayInput interface { pulumi.Input ToGetSecretReplicationUserManagedArrayOutput() GetSecretReplicationUserManagedArrayOutput ToGetSecretReplicationUserManagedArrayOutputWithContext(context.Context) GetSecretReplicationUserManagedArrayOutput }
GetSecretReplicationUserManagedArrayInput is an input type that accepts GetSecretReplicationUserManagedArray and GetSecretReplicationUserManagedArrayOutput values. You can construct a concrete instance of `GetSecretReplicationUserManagedArrayInput` via:
GetSecretReplicationUserManagedArray{ GetSecretReplicationUserManagedArgs{...} }
type GetSecretReplicationUserManagedArrayOutput ¶
type GetSecretReplicationUserManagedArrayOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationUserManagedArrayOutput) ElementType ¶
func (GetSecretReplicationUserManagedArrayOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedArrayOutput) ToGetSecretReplicationUserManagedArrayOutput ¶
func (o GetSecretReplicationUserManagedArrayOutput) ToGetSecretReplicationUserManagedArrayOutput() GetSecretReplicationUserManagedArrayOutput
func (GetSecretReplicationUserManagedArrayOutput) ToGetSecretReplicationUserManagedArrayOutputWithContext ¶
func (o GetSecretReplicationUserManagedArrayOutput) ToGetSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedArrayOutput
type GetSecretReplicationUserManagedInput ¶
type GetSecretReplicationUserManagedInput interface { pulumi.Input ToGetSecretReplicationUserManagedOutput() GetSecretReplicationUserManagedOutput ToGetSecretReplicationUserManagedOutputWithContext(context.Context) GetSecretReplicationUserManagedOutput }
GetSecretReplicationUserManagedInput is an input type that accepts GetSecretReplicationUserManagedArgs and GetSecretReplicationUserManagedOutput values. You can construct a concrete instance of `GetSecretReplicationUserManagedInput` via:
GetSecretReplicationUserManagedArgs{...}
type GetSecretReplicationUserManagedOutput ¶
type GetSecretReplicationUserManagedOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationUserManagedOutput) ElementType ¶
func (GetSecretReplicationUserManagedOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedOutput) Replicas ¶
func (o GetSecretReplicationUserManagedOutput) Replicas() GetSecretReplicationUserManagedReplicaArrayOutput
The list of Replicas for this Secret. Cannot be empty.
func (GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutput ¶
func (o GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutput() GetSecretReplicationUserManagedOutput
func (GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutputWithContext ¶
func (o GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedOutput
type GetSecretReplicationUserManagedReplica ¶
type GetSecretReplicationUserManagedReplica struct { // Customer Managed Encryption for the secret. CustomerManagedEncryptions []GetSecretReplicationUserManagedReplicaCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` // The canonical IDs of the location to replicate data. For example: "us-east1". Location string `pulumi:"location"` }
type GetSecretReplicationUserManagedReplicaArgs ¶
type GetSecretReplicationUserManagedReplicaArgs struct { // Customer Managed Encryption for the secret. CustomerManagedEncryptions GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput `pulumi:"customerManagedEncryptions"` // The canonical IDs of the location to replicate data. For example: "us-east1". Location pulumi.StringInput `pulumi:"location"` }
func (GetSecretReplicationUserManagedReplicaArgs) ElementType ¶
func (GetSecretReplicationUserManagedReplicaArgs) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaArgs) ToGetSecretReplicationUserManagedReplicaOutput ¶
func (i GetSecretReplicationUserManagedReplicaArgs) ToGetSecretReplicationUserManagedReplicaOutput() GetSecretReplicationUserManagedReplicaOutput
func (GetSecretReplicationUserManagedReplicaArgs) ToGetSecretReplicationUserManagedReplicaOutputWithContext ¶
func (i GetSecretReplicationUserManagedReplicaArgs) ToGetSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaOutput
type GetSecretReplicationUserManagedReplicaArray ¶
type GetSecretReplicationUserManagedReplicaArray []GetSecretReplicationUserManagedReplicaInput
func (GetSecretReplicationUserManagedReplicaArray) ElementType ¶
func (GetSecretReplicationUserManagedReplicaArray) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaArray) ToGetSecretReplicationUserManagedReplicaArrayOutput ¶
func (i GetSecretReplicationUserManagedReplicaArray) ToGetSecretReplicationUserManagedReplicaArrayOutput() GetSecretReplicationUserManagedReplicaArrayOutput
func (GetSecretReplicationUserManagedReplicaArray) ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext ¶
func (i GetSecretReplicationUserManagedReplicaArray) ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaArrayOutput
type GetSecretReplicationUserManagedReplicaArrayInput ¶
type GetSecretReplicationUserManagedReplicaArrayInput interface { pulumi.Input ToGetSecretReplicationUserManagedReplicaArrayOutput() GetSecretReplicationUserManagedReplicaArrayOutput ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext(context.Context) GetSecretReplicationUserManagedReplicaArrayOutput }
GetSecretReplicationUserManagedReplicaArrayInput is an input type that accepts GetSecretReplicationUserManagedReplicaArray and GetSecretReplicationUserManagedReplicaArrayOutput values. You can construct a concrete instance of `GetSecretReplicationUserManagedReplicaArrayInput` via:
GetSecretReplicationUserManagedReplicaArray{ GetSecretReplicationUserManagedReplicaArgs{...} }
type GetSecretReplicationUserManagedReplicaArrayOutput ¶
type GetSecretReplicationUserManagedReplicaArrayOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationUserManagedReplicaArrayOutput) ElementType ¶
func (GetSecretReplicationUserManagedReplicaArrayOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretReplicationUserManagedReplicaArrayOutput ¶
func (o GetSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretReplicationUserManagedReplicaArrayOutput() GetSecretReplicationUserManagedReplicaArrayOutput
func (GetSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext ¶
func (o GetSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaArrayOutput
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryption ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryption struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName string `pulumi:"kmsKeyName"` }
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType ¶
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext ¶
func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray []GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ElementType ¶
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ¶
func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext ¶
func (i GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput }
GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput is an input type that accepts GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray and GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput` via:
GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray{ GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs{...} }
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ElementType ¶
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ¶
func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext ¶
func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput interface { pulumi.Input ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput }
GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput is an input type that accepts GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs and GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput` via:
GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs{...}
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType ¶
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName ¶
func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext ¶
func (o GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
type GetSecretReplicationUserManagedReplicaInput ¶
type GetSecretReplicationUserManagedReplicaInput interface { pulumi.Input ToGetSecretReplicationUserManagedReplicaOutput() GetSecretReplicationUserManagedReplicaOutput ToGetSecretReplicationUserManagedReplicaOutputWithContext(context.Context) GetSecretReplicationUserManagedReplicaOutput }
GetSecretReplicationUserManagedReplicaInput is an input type that accepts GetSecretReplicationUserManagedReplicaArgs and GetSecretReplicationUserManagedReplicaOutput values. You can construct a concrete instance of `GetSecretReplicationUserManagedReplicaInput` via:
GetSecretReplicationUserManagedReplicaArgs{...}
type GetSecretReplicationUserManagedReplicaOutput ¶
type GetSecretReplicationUserManagedReplicaOutput struct{ *pulumi.OutputState }
func (GetSecretReplicationUserManagedReplicaOutput) CustomerManagedEncryptions ¶
func (o GetSecretReplicationUserManagedReplicaOutput) CustomerManagedEncryptions() GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
Customer Managed Encryption for the secret.
func (GetSecretReplicationUserManagedReplicaOutput) ElementType ¶
func (GetSecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaOutput) Location ¶
func (o GetSecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
The canonical IDs of the location to replicate data. For example: "us-east1".
func (GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutput ¶
func (o GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutput() GetSecretReplicationUserManagedReplicaOutput
func (GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutputWithContext ¶
func (o GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaOutput
type GetSecretRotation ¶
type GetSecretRotation struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime string `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications. RotationPeriod string `pulumi:"rotationPeriod"` }
type GetSecretRotationArgs ¶
type GetSecretRotationArgs struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime pulumi.StringInput `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications. RotationPeriod pulumi.StringInput `pulumi:"rotationPeriod"` }
func (GetSecretRotationArgs) ElementType ¶
func (GetSecretRotationArgs) ElementType() reflect.Type
func (GetSecretRotationArgs) ToGetSecretRotationOutput ¶
func (i GetSecretRotationArgs) ToGetSecretRotationOutput() GetSecretRotationOutput
func (GetSecretRotationArgs) ToGetSecretRotationOutputWithContext ¶
func (i GetSecretRotationArgs) ToGetSecretRotationOutputWithContext(ctx context.Context) GetSecretRotationOutput
type GetSecretRotationArray ¶
type GetSecretRotationArray []GetSecretRotationInput
func (GetSecretRotationArray) ElementType ¶
func (GetSecretRotationArray) ElementType() reflect.Type
func (GetSecretRotationArray) ToGetSecretRotationArrayOutput ¶
func (i GetSecretRotationArray) ToGetSecretRotationArrayOutput() GetSecretRotationArrayOutput
func (GetSecretRotationArray) ToGetSecretRotationArrayOutputWithContext ¶
func (i GetSecretRotationArray) ToGetSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretRotationArrayOutput
type GetSecretRotationArrayInput ¶
type GetSecretRotationArrayInput interface { pulumi.Input ToGetSecretRotationArrayOutput() GetSecretRotationArrayOutput ToGetSecretRotationArrayOutputWithContext(context.Context) GetSecretRotationArrayOutput }
GetSecretRotationArrayInput is an input type that accepts GetSecretRotationArray and GetSecretRotationArrayOutput values. You can construct a concrete instance of `GetSecretRotationArrayInput` via:
GetSecretRotationArray{ GetSecretRotationArgs{...} }
type GetSecretRotationArrayOutput ¶
type GetSecretRotationArrayOutput struct{ *pulumi.OutputState }
func (GetSecretRotationArrayOutput) ElementType ¶
func (GetSecretRotationArrayOutput) ElementType() reflect.Type
func (GetSecretRotationArrayOutput) Index ¶
func (o GetSecretRotationArrayOutput) Index(i pulumi.IntInput) GetSecretRotationOutput
func (GetSecretRotationArrayOutput) ToGetSecretRotationArrayOutput ¶
func (o GetSecretRotationArrayOutput) ToGetSecretRotationArrayOutput() GetSecretRotationArrayOutput
func (GetSecretRotationArrayOutput) ToGetSecretRotationArrayOutputWithContext ¶
func (o GetSecretRotationArrayOutput) ToGetSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretRotationArrayOutput
type GetSecretRotationInput ¶
type GetSecretRotationInput interface { pulumi.Input ToGetSecretRotationOutput() GetSecretRotationOutput ToGetSecretRotationOutputWithContext(context.Context) GetSecretRotationOutput }
GetSecretRotationInput is an input type that accepts GetSecretRotationArgs and GetSecretRotationOutput values. You can construct a concrete instance of `GetSecretRotationInput` via:
GetSecretRotationArgs{...}
type GetSecretRotationOutput ¶
type GetSecretRotationOutput struct{ *pulumi.OutputState }
func (GetSecretRotationOutput) ElementType ¶
func (GetSecretRotationOutput) ElementType() reflect.Type
func (GetSecretRotationOutput) NextRotationTime ¶
func (o GetSecretRotationOutput) NextRotationTime() pulumi.StringOutput
Timestamp in UTC at which the Secret is scheduled to rotate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (GetSecretRotationOutput) RotationPeriod ¶
func (o GetSecretRotationOutput) RotationPeriod() pulumi.StringOutput
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotationPeriod is set, 'next_rotation_time' must be set. 'next_rotation_time' will be advanced by this period when the service automatically sends rotation notifications.
func (GetSecretRotationOutput) ToGetSecretRotationOutput ¶
func (o GetSecretRotationOutput) ToGetSecretRotationOutput() GetSecretRotationOutput
func (GetSecretRotationOutput) ToGetSecretRotationOutputWithContext ¶
func (o GetSecretRotationOutput) ToGetSecretRotationOutputWithContext(ctx context.Context) GetSecretRotationOutput
type GetSecretTopic ¶
type GetSecretTopic struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Name string `pulumi:"name"` }
type GetSecretTopicArgs ¶
type GetSecretTopicArgs struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Name pulumi.StringInput `pulumi:"name"` }
func (GetSecretTopicArgs) ElementType ¶
func (GetSecretTopicArgs) ElementType() reflect.Type
func (GetSecretTopicArgs) ToGetSecretTopicOutput ¶
func (i GetSecretTopicArgs) ToGetSecretTopicOutput() GetSecretTopicOutput
func (GetSecretTopicArgs) ToGetSecretTopicOutputWithContext ¶
func (i GetSecretTopicArgs) ToGetSecretTopicOutputWithContext(ctx context.Context) GetSecretTopicOutput
type GetSecretTopicArray ¶
type GetSecretTopicArray []GetSecretTopicInput
func (GetSecretTopicArray) ElementType ¶
func (GetSecretTopicArray) ElementType() reflect.Type
func (GetSecretTopicArray) ToGetSecretTopicArrayOutput ¶
func (i GetSecretTopicArray) ToGetSecretTopicArrayOutput() GetSecretTopicArrayOutput
func (GetSecretTopicArray) ToGetSecretTopicArrayOutputWithContext ¶
func (i GetSecretTopicArray) ToGetSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretTopicArrayOutput
type GetSecretTopicArrayInput ¶
type GetSecretTopicArrayInput interface { pulumi.Input ToGetSecretTopicArrayOutput() GetSecretTopicArrayOutput ToGetSecretTopicArrayOutputWithContext(context.Context) GetSecretTopicArrayOutput }
GetSecretTopicArrayInput is an input type that accepts GetSecretTopicArray and GetSecretTopicArrayOutput values. You can construct a concrete instance of `GetSecretTopicArrayInput` via:
GetSecretTopicArray{ GetSecretTopicArgs{...} }
type GetSecretTopicArrayOutput ¶
type GetSecretTopicArrayOutput struct{ *pulumi.OutputState }
func (GetSecretTopicArrayOutput) ElementType ¶
func (GetSecretTopicArrayOutput) ElementType() reflect.Type
func (GetSecretTopicArrayOutput) Index ¶
func (o GetSecretTopicArrayOutput) Index(i pulumi.IntInput) GetSecretTopicOutput
func (GetSecretTopicArrayOutput) ToGetSecretTopicArrayOutput ¶
func (o GetSecretTopicArrayOutput) ToGetSecretTopicArrayOutput() GetSecretTopicArrayOutput
func (GetSecretTopicArrayOutput) ToGetSecretTopicArrayOutputWithContext ¶
func (o GetSecretTopicArrayOutput) ToGetSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretTopicArrayOutput
type GetSecretTopicInput ¶
type GetSecretTopicInput interface { pulumi.Input ToGetSecretTopicOutput() GetSecretTopicOutput ToGetSecretTopicOutputWithContext(context.Context) GetSecretTopicOutput }
GetSecretTopicInput is an input type that accepts GetSecretTopicArgs and GetSecretTopicOutput values. You can construct a concrete instance of `GetSecretTopicInput` via:
GetSecretTopicArgs{...}
type GetSecretTopicOutput ¶
type GetSecretTopicOutput struct{ *pulumi.OutputState }
func (GetSecretTopicOutput) ElementType ¶
func (GetSecretTopicOutput) ElementType() reflect.Type
func (GetSecretTopicOutput) Name ¶
func (o GetSecretTopicOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
func (GetSecretTopicOutput) ToGetSecretTopicOutput ¶
func (o GetSecretTopicOutput) ToGetSecretTopicOutput() GetSecretTopicOutput
func (GetSecretTopicOutput) ToGetSecretTopicOutputWithContext ¶
func (o GetSecretTopicOutput) ToGetSecretTopicOutputWithContext(ctx context.Context) GetSecretTopicOutput
type GetSecretVersionAccessArgs ¶
type GetSecretVersionAccessArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` // The secret to get the secret version for. Secret string `pulumi:"secret"` // The version of the secret to get. If it // is not provided, the latest version is retrieved. Version *string `pulumi:"version"` }
A collection of arguments for invoking getSecretVersionAccess.
type GetSecretVersionAccessOutputArgs ¶
type GetSecretVersionAccessOutputArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 pulumi.BoolPtrInput `pulumi:"isSecretDataBase64"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` // The secret to get the secret version for. Secret pulumi.StringInput `pulumi:"secret"` // The version of the secret to get. If it // is not provided, the latest version is retrieved. Version pulumi.StringPtrInput `pulumi:"version"` }
A collection of arguments for invoking getSecretVersionAccess.
func (GetSecretVersionAccessOutputArgs) ElementType ¶
func (GetSecretVersionAccessOutputArgs) ElementType() reflect.Type
type GetSecretVersionAccessResult ¶
type GetSecretVersionAccessResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` // The resource name of the SecretVersion. Format: // `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}` Name string `pulumi:"name"` Project string `pulumi:"project"` Secret string `pulumi:"secret"` // The secret data. No larger than 64KiB. SecretData string `pulumi:"secretData"` Version string `pulumi:"version"` }
A collection of values returned by getSecretVersionAccess.
func GetSecretVersionAccess ¶
func GetSecretVersionAccess(ctx *pulumi.Context, args *GetSecretVersionAccessArgs, opts ...pulumi.InvokeOption) (*GetSecretVersionAccessResult, error)
Get the value from a Secret Manager secret version. This is similar to the secretmanager.SecretVersion datasource, but it only requires the [Secret Manager Secret Accessor](https://cloud.google.com/secret-manager/docs/access-control#secretmanager.secretAccessor) role. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions/access).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.GetSecretVersionAccess(ctx, &secretmanager.GetSecretVersionAccessArgs{ Secret: "my-secret", }, nil) if err != nil { return err } return nil }) }
```
type GetSecretVersionAccessResultOutput ¶
type GetSecretVersionAccessResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecretVersionAccess.
func GetSecretVersionAccessOutput ¶
func GetSecretVersionAccessOutput(ctx *pulumi.Context, args GetSecretVersionAccessOutputArgs, opts ...pulumi.InvokeOption) GetSecretVersionAccessResultOutput
func (GetSecretVersionAccessResultOutput) ElementType ¶
func (GetSecretVersionAccessResultOutput) ElementType() reflect.Type
func (GetSecretVersionAccessResultOutput) Id ¶
func (o GetSecretVersionAccessResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretVersionAccessResultOutput) IsSecretDataBase64 ¶ added in v8.7.0
func (o GetSecretVersionAccessResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
func (GetSecretVersionAccessResultOutput) Name ¶
func (o GetSecretVersionAccessResultOutput) Name() pulumi.StringOutput
The resource name of the SecretVersion. Format: `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
func (GetSecretVersionAccessResultOutput) Project ¶
func (o GetSecretVersionAccessResultOutput) Project() pulumi.StringOutput
func (GetSecretVersionAccessResultOutput) Secret ¶
func (o GetSecretVersionAccessResultOutput) Secret() pulumi.StringOutput
func (GetSecretVersionAccessResultOutput) SecretData ¶
func (o GetSecretVersionAccessResultOutput) SecretData() pulumi.StringOutput
The secret data. No larger than 64KiB.
func (GetSecretVersionAccessResultOutput) ToGetSecretVersionAccessResultOutput ¶
func (o GetSecretVersionAccessResultOutput) ToGetSecretVersionAccessResultOutput() GetSecretVersionAccessResultOutput
func (GetSecretVersionAccessResultOutput) ToGetSecretVersionAccessResultOutputWithContext ¶
func (o GetSecretVersionAccessResultOutput) ToGetSecretVersionAccessResultOutputWithContext(ctx context.Context) GetSecretVersionAccessResultOutput
func (GetSecretVersionAccessResultOutput) Version ¶
func (o GetSecretVersionAccessResultOutput) Version() pulumi.StringOutput
type GetSecretsArgs ¶
type GetSecretsArgs struct { // Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. Filter *string `pulumi:"filter"` // The ID of the project. Project *string `pulumi:"project"` }
A collection of arguments for invoking getSecrets.
type GetSecretsOutputArgs ¶
type GetSecretsOutputArgs struct { // Filter string, adhering to the rules in [List-operation filtering](https://cloud.google.com/secret-manager/docs/filtering). List only secrets matching the filter. If filter is empty, all secrets are listed. Filter pulumi.StringPtrInput `pulumi:"filter"` // The ID of the project. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getSecrets.
func (GetSecretsOutputArgs) ElementType ¶
func (GetSecretsOutputArgs) ElementType() reflect.Type
type GetSecretsResult ¶
type GetSecretsResult struct { Filter *string `pulumi:"filter"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ID of the project in which the resource belongs. Project string `pulumi:"project"` // A list of secrets matching the filter. Structure is defined below. Secrets []GetSecretsSecret `pulumi:"secrets"` }
A collection of values returned by getSecrets.
func GetSecrets ¶
func GetSecrets(ctx *pulumi.Context, args *GetSecretsArgs, opts ...pulumi.InvokeOption) (*GetSecretsResult, error)
Use this data source to list the Secret Manager Secrets
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.GetSecrets(ctx, &secretmanager.GetSecretsArgs{}, nil) if err != nil { return err } return nil }) }
```
type GetSecretsResultOutput ¶
type GetSecretsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecrets.
func GetSecretsOutput ¶
func GetSecretsOutput(ctx *pulumi.Context, args GetSecretsOutputArgs, opts ...pulumi.InvokeOption) GetSecretsResultOutput
func (GetSecretsResultOutput) ElementType ¶
func (GetSecretsResultOutput) ElementType() reflect.Type
func (GetSecretsResultOutput) Filter ¶
func (o GetSecretsResultOutput) Filter() pulumi.StringPtrOutput
func (GetSecretsResultOutput) Id ¶
func (o GetSecretsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretsResultOutput) Project ¶
func (o GetSecretsResultOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs.
func (GetSecretsResultOutput) Secrets ¶
func (o GetSecretsResultOutput) Secrets() GetSecretsSecretArrayOutput
A list of secrets matching the filter. Structure is defined below.
func (GetSecretsResultOutput) ToGetSecretsResultOutput ¶
func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
func (GetSecretsResultOutput) ToGetSecretsResultOutputWithContext ¶
func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
type GetSecretsSecret ¶
type GetSecretsSecret struct { // Custom metadata about the secret. Annotations map[string]string `pulumi:"annotations"` // The time at which the Secret was created. CreateTime string `pulumi:"createTime"` EffectiveAnnotations map[string]string `pulumi:"effectiveAnnotations"` EffectiveLabels map[string]string `pulumi:"effectiveLabels"` // Timestamp in UTC when the Secret is scheduled to expire. ExpireTime string `pulumi:"expireTime"` // The labels assigned to this Secret. Labels map[string]string `pulumi:"labels"` // The resource name of the Pub/Sub topic that will be published to. Name string `pulumi:"name"` // The ID of the project. Project string `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels map[string]string `pulumi:"pulumiLabels"` // The replication policy of the secret data attached to the Secret. // Structure is documented below. Replications []GetSecretsSecretReplication `pulumi:"replications"` // The rotation time and period for a Secret. // Structure is documented below. Rotations []GetSecretsSecretRotation `pulumi:"rotations"` // This must be unique within the project. SecretId string `pulumi:"secretId"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. // Structure is documented below. Topics []GetSecretsSecretTopic `pulumi:"topics"` // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // Only one of 'ttl' or 'expire_time' can be provided. Ttl string `pulumi:"ttl"` // Mapping from version alias to version name. VersionAliases map[string]string `pulumi:"versionAliases"` // The version destroy ttl for the secret version. VersionDestroyTtl string `pulumi:"versionDestroyTtl"` }
type GetSecretsSecretArgs ¶
type GetSecretsSecretArgs struct { // Custom metadata about the secret. Annotations pulumi.StringMapInput `pulumi:"annotations"` // The time at which the Secret was created. CreateTime pulumi.StringInput `pulumi:"createTime"` EffectiveAnnotations pulumi.StringMapInput `pulumi:"effectiveAnnotations"` EffectiveLabels pulumi.StringMapInput `pulumi:"effectiveLabels"` // Timestamp in UTC when the Secret is scheduled to expire. ExpireTime pulumi.StringInput `pulumi:"expireTime"` // The labels assigned to this Secret. Labels pulumi.StringMapInput `pulumi:"labels"` // The resource name of the Pub/Sub topic that will be published to. Name pulumi.StringInput `pulumi:"name"` // The ID of the project. Project pulumi.StringInput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput `pulumi:"pulumiLabels"` // The replication policy of the secret data attached to the Secret. // Structure is documented below. Replications GetSecretsSecretReplicationArrayInput `pulumi:"replications"` // The rotation time and period for a Secret. // Structure is documented below. Rotations GetSecretsSecretRotationArrayInput `pulumi:"rotations"` // This must be unique within the project. SecretId pulumi.StringInput `pulumi:"secretId"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. // Structure is documented below. Topics GetSecretsSecretTopicArrayInput `pulumi:"topics"` // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // Only one of 'ttl' or 'expire_time' can be provided. Ttl pulumi.StringInput `pulumi:"ttl"` // Mapping from version alias to version name. VersionAliases pulumi.StringMapInput `pulumi:"versionAliases"` // The version destroy ttl for the secret version. VersionDestroyTtl pulumi.StringInput `pulumi:"versionDestroyTtl"` }
func (GetSecretsSecretArgs) ElementType ¶
func (GetSecretsSecretArgs) ElementType() reflect.Type
func (GetSecretsSecretArgs) ToGetSecretsSecretOutput ¶
func (i GetSecretsSecretArgs) ToGetSecretsSecretOutput() GetSecretsSecretOutput
func (GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext ¶
func (i GetSecretsSecretArgs) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
type GetSecretsSecretArray ¶
type GetSecretsSecretArray []GetSecretsSecretInput
func (GetSecretsSecretArray) ElementType ¶
func (GetSecretsSecretArray) ElementType() reflect.Type
func (GetSecretsSecretArray) ToGetSecretsSecretArrayOutput ¶
func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
func (GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext ¶
func (i GetSecretsSecretArray) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
type GetSecretsSecretArrayInput ¶
type GetSecretsSecretArrayInput interface { pulumi.Input ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput ToGetSecretsSecretArrayOutputWithContext(context.Context) GetSecretsSecretArrayOutput }
GetSecretsSecretArrayInput is an input type that accepts GetSecretsSecretArray and GetSecretsSecretArrayOutput values. You can construct a concrete instance of `GetSecretsSecretArrayInput` via:
GetSecretsSecretArray{ GetSecretsSecretArgs{...} }
type GetSecretsSecretArrayOutput ¶
type GetSecretsSecretArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretArrayOutput) ElementType ¶
func (GetSecretsSecretArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretArrayOutput) Index ¶
func (o GetSecretsSecretArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretOutput
func (GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput ¶
func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutput() GetSecretsSecretArrayOutput
func (GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext ¶
func (o GetSecretsSecretArrayOutput) ToGetSecretsSecretArrayOutputWithContext(ctx context.Context) GetSecretsSecretArrayOutput
type GetSecretsSecretInput ¶
type GetSecretsSecretInput interface { pulumi.Input ToGetSecretsSecretOutput() GetSecretsSecretOutput ToGetSecretsSecretOutputWithContext(context.Context) GetSecretsSecretOutput }
GetSecretsSecretInput is an input type that accepts GetSecretsSecretArgs and GetSecretsSecretOutput values. You can construct a concrete instance of `GetSecretsSecretInput` via:
GetSecretsSecretArgs{...}
type GetSecretsSecretOutput ¶
type GetSecretsSecretOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretOutput) Annotations ¶
func (o GetSecretsSecretOutput) Annotations() pulumi.StringMapOutput
Custom metadata about the secret.
func (GetSecretsSecretOutput) CreateTime ¶
func (o GetSecretsSecretOutput) CreateTime() pulumi.StringOutput
The time at which the Secret was created.
func (GetSecretsSecretOutput) EffectiveAnnotations ¶
func (o GetSecretsSecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (GetSecretsSecretOutput) EffectiveLabels ¶
func (o GetSecretsSecretOutput) EffectiveLabels() pulumi.StringMapOutput
func (GetSecretsSecretOutput) ElementType ¶
func (GetSecretsSecretOutput) ElementType() reflect.Type
func (GetSecretsSecretOutput) ExpireTime ¶
func (o GetSecretsSecretOutput) ExpireTime() pulumi.StringOutput
Timestamp in UTC when the Secret is scheduled to expire.
func (GetSecretsSecretOutput) Labels ¶
func (o GetSecretsSecretOutput) Labels() pulumi.StringMapOutput
The labels assigned to this Secret.
func (GetSecretsSecretOutput) Name ¶
func (o GetSecretsSecretOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to.
func (GetSecretsSecretOutput) Project ¶
func (o GetSecretsSecretOutput) Project() pulumi.StringOutput
The ID of the project.
func (GetSecretsSecretOutput) PulumiLabels ¶
func (o GetSecretsSecretOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource
and default labels configured on the provider.
func (GetSecretsSecretOutput) Replications ¶
func (o GetSecretsSecretOutput) Replications() GetSecretsSecretReplicationArrayOutput
The replication policy of the secret data attached to the Secret. Structure is documented below.
func (GetSecretsSecretOutput) Rotations ¶
func (o GetSecretsSecretOutput) Rotations() GetSecretsSecretRotationArrayOutput
The rotation time and period for a Secret. Structure is documented below.
func (GetSecretsSecretOutput) SecretId ¶
func (o GetSecretsSecretOutput) SecretId() pulumi.StringOutput
This must be unique within the project.
func (GetSecretsSecretOutput) ToGetSecretsSecretOutput ¶
func (o GetSecretsSecretOutput) ToGetSecretsSecretOutput() GetSecretsSecretOutput
func (GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext ¶
func (o GetSecretsSecretOutput) ToGetSecretsSecretOutputWithContext(ctx context.Context) GetSecretsSecretOutput
func (GetSecretsSecretOutput) Topics ¶
func (o GetSecretsSecretOutput) Topics() GetSecretsSecretTopicArrayOutput
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions. Structure is documented below.
func (GetSecretsSecretOutput) Ttl ¶
func (o GetSecretsSecretOutput) Ttl() pulumi.StringOutput
The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided.
func (GetSecretsSecretOutput) VersionAliases ¶
func (o GetSecretsSecretOutput) VersionAliases() pulumi.StringMapOutput
Mapping from version alias to version name.
func (GetSecretsSecretOutput) VersionDestroyTtl ¶
func (o GetSecretsSecretOutput) VersionDestroyTtl() pulumi.StringOutput
The version destroy ttl for the secret version.
type GetSecretsSecretReplication ¶
type GetSecretsSecretReplication struct { // The Secret will automatically be replicated without any restrictions. // Structure is documented below. Autos []GetSecretsSecretReplicationAuto `pulumi:"autos"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. UserManageds []GetSecretsSecretReplicationUserManaged `pulumi:"userManageds"` }
type GetSecretsSecretReplicationArgs ¶
type GetSecretsSecretReplicationArgs struct { // The Secret will automatically be replicated without any restrictions. // Structure is documented below. Autos GetSecretsSecretReplicationAutoArrayInput `pulumi:"autos"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. UserManageds GetSecretsSecretReplicationUserManagedArrayInput `pulumi:"userManageds"` }
func (GetSecretsSecretReplicationArgs) ElementType ¶
func (GetSecretsSecretReplicationArgs) ElementType() reflect.Type
func (GetSecretsSecretReplicationArgs) ToGetSecretsSecretReplicationOutput ¶
func (i GetSecretsSecretReplicationArgs) ToGetSecretsSecretReplicationOutput() GetSecretsSecretReplicationOutput
func (GetSecretsSecretReplicationArgs) ToGetSecretsSecretReplicationOutputWithContext ¶
func (i GetSecretsSecretReplicationArgs) ToGetSecretsSecretReplicationOutputWithContext(ctx context.Context) GetSecretsSecretReplicationOutput
type GetSecretsSecretReplicationArray ¶
type GetSecretsSecretReplicationArray []GetSecretsSecretReplicationInput
func (GetSecretsSecretReplicationArray) ElementType ¶
func (GetSecretsSecretReplicationArray) ElementType() reflect.Type
func (GetSecretsSecretReplicationArray) ToGetSecretsSecretReplicationArrayOutput ¶
func (i GetSecretsSecretReplicationArray) ToGetSecretsSecretReplicationArrayOutput() GetSecretsSecretReplicationArrayOutput
func (GetSecretsSecretReplicationArray) ToGetSecretsSecretReplicationArrayOutputWithContext ¶
func (i GetSecretsSecretReplicationArray) ToGetSecretsSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationArrayOutput
type GetSecretsSecretReplicationArrayInput ¶
type GetSecretsSecretReplicationArrayInput interface { pulumi.Input ToGetSecretsSecretReplicationArrayOutput() GetSecretsSecretReplicationArrayOutput ToGetSecretsSecretReplicationArrayOutputWithContext(context.Context) GetSecretsSecretReplicationArrayOutput }
GetSecretsSecretReplicationArrayInput is an input type that accepts GetSecretsSecretReplicationArray and GetSecretsSecretReplicationArrayOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationArrayInput` via:
GetSecretsSecretReplicationArray{ GetSecretsSecretReplicationArgs{...} }
type GetSecretsSecretReplicationArrayOutput ¶
type GetSecretsSecretReplicationArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationArrayOutput) ElementType ¶
func (GetSecretsSecretReplicationArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationArrayOutput) ToGetSecretsSecretReplicationArrayOutput ¶
func (o GetSecretsSecretReplicationArrayOutput) ToGetSecretsSecretReplicationArrayOutput() GetSecretsSecretReplicationArrayOutput
func (GetSecretsSecretReplicationArrayOutput) ToGetSecretsSecretReplicationArrayOutputWithContext ¶
func (o GetSecretsSecretReplicationArrayOutput) ToGetSecretsSecretReplicationArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationArrayOutput
type GetSecretsSecretReplicationAuto ¶
type GetSecretsSecretReplicationAuto struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryptions []GetSecretsSecretReplicationAutoCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` }
type GetSecretsSecretReplicationAutoArgs ¶
type GetSecretsSecretReplicationAutoArgs struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryptions GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayInput `pulumi:"customerManagedEncryptions"` }
func (GetSecretsSecretReplicationAutoArgs) ElementType ¶
func (GetSecretsSecretReplicationAutoArgs) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoArgs) ToGetSecretsSecretReplicationAutoOutput ¶
func (i GetSecretsSecretReplicationAutoArgs) ToGetSecretsSecretReplicationAutoOutput() GetSecretsSecretReplicationAutoOutput
func (GetSecretsSecretReplicationAutoArgs) ToGetSecretsSecretReplicationAutoOutputWithContext ¶
func (i GetSecretsSecretReplicationAutoArgs) ToGetSecretsSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoOutput
type GetSecretsSecretReplicationAutoArray ¶
type GetSecretsSecretReplicationAutoArray []GetSecretsSecretReplicationAutoInput
func (GetSecretsSecretReplicationAutoArray) ElementType ¶
func (GetSecretsSecretReplicationAutoArray) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoArray) ToGetSecretsSecretReplicationAutoArrayOutput ¶
func (i GetSecretsSecretReplicationAutoArray) ToGetSecretsSecretReplicationAutoArrayOutput() GetSecretsSecretReplicationAutoArrayOutput
func (GetSecretsSecretReplicationAutoArray) ToGetSecretsSecretReplicationAutoArrayOutputWithContext ¶
func (i GetSecretsSecretReplicationAutoArray) ToGetSecretsSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoArrayOutput
type GetSecretsSecretReplicationAutoArrayInput ¶
type GetSecretsSecretReplicationAutoArrayInput interface { pulumi.Input ToGetSecretsSecretReplicationAutoArrayOutput() GetSecretsSecretReplicationAutoArrayOutput ToGetSecretsSecretReplicationAutoArrayOutputWithContext(context.Context) GetSecretsSecretReplicationAutoArrayOutput }
GetSecretsSecretReplicationAutoArrayInput is an input type that accepts GetSecretsSecretReplicationAutoArray and GetSecretsSecretReplicationAutoArrayOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationAutoArrayInput` via:
GetSecretsSecretReplicationAutoArray{ GetSecretsSecretReplicationAutoArgs{...} }
type GetSecretsSecretReplicationAutoArrayOutput ¶
type GetSecretsSecretReplicationAutoArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationAutoArrayOutput) ElementType ¶
func (GetSecretsSecretReplicationAutoArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoArrayOutput) ToGetSecretsSecretReplicationAutoArrayOutput ¶
func (o GetSecretsSecretReplicationAutoArrayOutput) ToGetSecretsSecretReplicationAutoArrayOutput() GetSecretsSecretReplicationAutoArrayOutput
func (GetSecretsSecretReplicationAutoArrayOutput) ToGetSecretsSecretReplicationAutoArrayOutputWithContext ¶
func (o GetSecretsSecretReplicationAutoArrayOutput) ToGetSecretsSecretReplicationAutoArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoArrayOutput
type GetSecretsSecretReplicationAutoCustomerManagedEncryption ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryption struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName string `pulumi:"kmsKeyName"` }
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ElementType ¶
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput ¶
func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext ¶
func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray []GetSecretsSecretReplicationAutoCustomerManagedEncryptionInput
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ElementType ¶
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput ¶
func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext ¶
func (i GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayInput ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput }
GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayInput is an input type that accepts GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray and GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayInput` via:
GetSecretsSecretReplicationAutoCustomerManagedEncryptionArray{ GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs{...} }
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ElementType ¶
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput ¶
func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext ¶
func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionInput ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionInput interface { pulumi.Input ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput }
GetSecretsSecretReplicationAutoCustomerManagedEncryptionInput is an input type that accepts GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs and GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationAutoCustomerManagedEncryptionInput` via:
GetSecretsSecretReplicationAutoCustomerManagedEncryptionArgs{...}
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput ¶
type GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ElementType ¶
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName ¶
func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput ¶
func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput() GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
func (GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext ¶
func (o GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoCustomerManagedEncryptionOutput
type GetSecretsSecretReplicationAutoInput ¶
type GetSecretsSecretReplicationAutoInput interface { pulumi.Input ToGetSecretsSecretReplicationAutoOutput() GetSecretsSecretReplicationAutoOutput ToGetSecretsSecretReplicationAutoOutputWithContext(context.Context) GetSecretsSecretReplicationAutoOutput }
GetSecretsSecretReplicationAutoInput is an input type that accepts GetSecretsSecretReplicationAutoArgs and GetSecretsSecretReplicationAutoOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationAutoInput` via:
GetSecretsSecretReplicationAutoArgs{...}
type GetSecretsSecretReplicationAutoOutput ¶
type GetSecretsSecretReplicationAutoOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationAutoOutput) CustomerManagedEncryptions ¶
func (o GetSecretsSecretReplicationAutoOutput) CustomerManagedEncryptions() GetSecretsSecretReplicationAutoCustomerManagedEncryptionArrayOutput
Customer Managed Encryption for the secret. Structure is documented below.
func (GetSecretsSecretReplicationAutoOutput) ElementType ¶
func (GetSecretsSecretReplicationAutoOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationAutoOutput) ToGetSecretsSecretReplicationAutoOutput ¶
func (o GetSecretsSecretReplicationAutoOutput) ToGetSecretsSecretReplicationAutoOutput() GetSecretsSecretReplicationAutoOutput
func (GetSecretsSecretReplicationAutoOutput) ToGetSecretsSecretReplicationAutoOutputWithContext ¶
func (o GetSecretsSecretReplicationAutoOutput) ToGetSecretsSecretReplicationAutoOutputWithContext(ctx context.Context) GetSecretsSecretReplicationAutoOutput
type GetSecretsSecretReplicationInput ¶
type GetSecretsSecretReplicationInput interface { pulumi.Input ToGetSecretsSecretReplicationOutput() GetSecretsSecretReplicationOutput ToGetSecretsSecretReplicationOutputWithContext(context.Context) GetSecretsSecretReplicationOutput }
GetSecretsSecretReplicationInput is an input type that accepts GetSecretsSecretReplicationArgs and GetSecretsSecretReplicationOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationInput` via:
GetSecretsSecretReplicationArgs{...}
type GetSecretsSecretReplicationOutput ¶
type GetSecretsSecretReplicationOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationOutput) Autos ¶
The Secret will automatically be replicated without any restrictions. Structure is documented below.
func (GetSecretsSecretReplicationOutput) ElementType ¶
func (GetSecretsSecretReplicationOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationOutput) ToGetSecretsSecretReplicationOutput ¶
func (o GetSecretsSecretReplicationOutput) ToGetSecretsSecretReplicationOutput() GetSecretsSecretReplicationOutput
func (GetSecretsSecretReplicationOutput) ToGetSecretsSecretReplicationOutputWithContext ¶
func (o GetSecretsSecretReplicationOutput) ToGetSecretsSecretReplicationOutputWithContext(ctx context.Context) GetSecretsSecretReplicationOutput
func (GetSecretsSecretReplicationOutput) UserManageds ¶
func (o GetSecretsSecretReplicationOutput) UserManageds() GetSecretsSecretReplicationUserManagedArrayOutput
The Secret will be replicated to the regions specified by the user. Structure is documented below.
type GetSecretsSecretReplicationUserManaged ¶
type GetSecretsSecretReplicationUserManaged struct { // The list of Replicas for this Secret. // Structure is documented below. Replicas []GetSecretsSecretReplicationUserManagedReplica `pulumi:"replicas"` }
type GetSecretsSecretReplicationUserManagedArgs ¶
type GetSecretsSecretReplicationUserManagedArgs struct { // The list of Replicas for this Secret. // Structure is documented below. Replicas GetSecretsSecretReplicationUserManagedReplicaArrayInput `pulumi:"replicas"` }
func (GetSecretsSecretReplicationUserManagedArgs) ElementType ¶
func (GetSecretsSecretReplicationUserManagedArgs) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedArgs) ToGetSecretsSecretReplicationUserManagedOutput ¶
func (i GetSecretsSecretReplicationUserManagedArgs) ToGetSecretsSecretReplicationUserManagedOutput() GetSecretsSecretReplicationUserManagedOutput
func (GetSecretsSecretReplicationUserManagedArgs) ToGetSecretsSecretReplicationUserManagedOutputWithContext ¶
func (i GetSecretsSecretReplicationUserManagedArgs) ToGetSecretsSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedOutput
type GetSecretsSecretReplicationUserManagedArray ¶
type GetSecretsSecretReplicationUserManagedArray []GetSecretsSecretReplicationUserManagedInput
func (GetSecretsSecretReplicationUserManagedArray) ElementType ¶
func (GetSecretsSecretReplicationUserManagedArray) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedArray) ToGetSecretsSecretReplicationUserManagedArrayOutput ¶
func (i GetSecretsSecretReplicationUserManagedArray) ToGetSecretsSecretReplicationUserManagedArrayOutput() GetSecretsSecretReplicationUserManagedArrayOutput
func (GetSecretsSecretReplicationUserManagedArray) ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext ¶
func (i GetSecretsSecretReplicationUserManagedArray) ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedArrayOutput
type GetSecretsSecretReplicationUserManagedArrayInput ¶
type GetSecretsSecretReplicationUserManagedArrayInput interface { pulumi.Input ToGetSecretsSecretReplicationUserManagedArrayOutput() GetSecretsSecretReplicationUserManagedArrayOutput ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext(context.Context) GetSecretsSecretReplicationUserManagedArrayOutput }
GetSecretsSecretReplicationUserManagedArrayInput is an input type that accepts GetSecretsSecretReplicationUserManagedArray and GetSecretsSecretReplicationUserManagedArrayOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationUserManagedArrayInput` via:
GetSecretsSecretReplicationUserManagedArray{ GetSecretsSecretReplicationUserManagedArgs{...} }
type GetSecretsSecretReplicationUserManagedArrayOutput ¶
type GetSecretsSecretReplicationUserManagedArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationUserManagedArrayOutput) ElementType ¶
func (GetSecretsSecretReplicationUserManagedArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedArrayOutput) ToGetSecretsSecretReplicationUserManagedArrayOutput ¶
func (o GetSecretsSecretReplicationUserManagedArrayOutput) ToGetSecretsSecretReplicationUserManagedArrayOutput() GetSecretsSecretReplicationUserManagedArrayOutput
func (GetSecretsSecretReplicationUserManagedArrayOutput) ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext ¶
func (o GetSecretsSecretReplicationUserManagedArrayOutput) ToGetSecretsSecretReplicationUserManagedArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedArrayOutput
type GetSecretsSecretReplicationUserManagedInput ¶
type GetSecretsSecretReplicationUserManagedInput interface { pulumi.Input ToGetSecretsSecretReplicationUserManagedOutput() GetSecretsSecretReplicationUserManagedOutput ToGetSecretsSecretReplicationUserManagedOutputWithContext(context.Context) GetSecretsSecretReplicationUserManagedOutput }
GetSecretsSecretReplicationUserManagedInput is an input type that accepts GetSecretsSecretReplicationUserManagedArgs and GetSecretsSecretReplicationUserManagedOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationUserManagedInput` via:
GetSecretsSecretReplicationUserManagedArgs{...}
type GetSecretsSecretReplicationUserManagedOutput ¶
type GetSecretsSecretReplicationUserManagedOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationUserManagedOutput) ElementType ¶
func (GetSecretsSecretReplicationUserManagedOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedOutput) Replicas ¶
func (o GetSecretsSecretReplicationUserManagedOutput) Replicas() GetSecretsSecretReplicationUserManagedReplicaArrayOutput
The list of Replicas for this Secret. Structure is documented below.
func (GetSecretsSecretReplicationUserManagedOutput) ToGetSecretsSecretReplicationUserManagedOutput ¶
func (o GetSecretsSecretReplicationUserManagedOutput) ToGetSecretsSecretReplicationUserManagedOutput() GetSecretsSecretReplicationUserManagedOutput
func (GetSecretsSecretReplicationUserManagedOutput) ToGetSecretsSecretReplicationUserManagedOutputWithContext ¶
func (o GetSecretsSecretReplicationUserManagedOutput) ToGetSecretsSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedOutput
type GetSecretsSecretReplicationUserManagedReplica ¶
type GetSecretsSecretReplicationUserManagedReplica struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryptions []GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` // The canonical IDs of the location to replicate data. Location string `pulumi:"location"` }
type GetSecretsSecretReplicationUserManagedReplicaArgs ¶
type GetSecretsSecretReplicationUserManagedReplicaArgs struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryptions GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput `pulumi:"customerManagedEncryptions"` // The canonical IDs of the location to replicate data. Location pulumi.StringInput `pulumi:"location"` }
func (GetSecretsSecretReplicationUserManagedReplicaArgs) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaArgs) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaArgs) ToGetSecretsSecretReplicationUserManagedReplicaOutput ¶
func (i GetSecretsSecretReplicationUserManagedReplicaArgs) ToGetSecretsSecretReplicationUserManagedReplicaOutput() GetSecretsSecretReplicationUserManagedReplicaOutput
func (GetSecretsSecretReplicationUserManagedReplicaArgs) ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext ¶
func (i GetSecretsSecretReplicationUserManagedReplicaArgs) ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaOutput
type GetSecretsSecretReplicationUserManagedReplicaArray ¶
type GetSecretsSecretReplicationUserManagedReplicaArray []GetSecretsSecretReplicationUserManagedReplicaInput
func (GetSecretsSecretReplicationUserManagedReplicaArray) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaArray) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaArray) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput ¶
func (i GetSecretsSecretReplicationUserManagedReplicaArray) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput() GetSecretsSecretReplicationUserManagedReplicaArrayOutput
func (GetSecretsSecretReplicationUserManagedReplicaArray) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext ¶
func (i GetSecretsSecretReplicationUserManagedReplicaArray) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaArrayOutput
type GetSecretsSecretReplicationUserManagedReplicaArrayInput ¶
type GetSecretsSecretReplicationUserManagedReplicaArrayInput interface { pulumi.Input ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput() GetSecretsSecretReplicationUserManagedReplicaArrayOutput ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext(context.Context) GetSecretsSecretReplicationUserManagedReplicaArrayOutput }
GetSecretsSecretReplicationUserManagedReplicaArrayInput is an input type that accepts GetSecretsSecretReplicationUserManagedReplicaArray and GetSecretsSecretReplicationUserManagedReplicaArrayOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationUserManagedReplicaArrayInput` via:
GetSecretsSecretReplicationUserManagedReplicaArray{ GetSecretsSecretReplicationUserManagedReplicaArgs{...} }
type GetSecretsSecretReplicationUserManagedReplicaArrayOutput ¶
type GetSecretsSecretReplicationUserManagedReplicaArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput ¶
func (o GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutput() GetSecretsSecretReplicationUserManagedReplicaArrayOutput
func (GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext ¶
func (o GetSecretsSecretReplicationUserManagedReplicaArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaArrayOutput
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryption ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryption struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName string `pulumi:"kmsKeyName"` }
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext ¶
func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray []GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ¶
func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext ¶
func (i GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput interface { pulumi.Input ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput }
GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput is an input type that accepts GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray and GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput` via:
GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArray{ GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs{...} }
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput ¶
func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext ¶
func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput interface { pulumi.Input ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput }
GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput is an input type that accepts GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs and GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionInput` via:
GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs{...}
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
type GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName ¶
func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext ¶
func (o GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToGetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
type GetSecretsSecretReplicationUserManagedReplicaInput ¶
type GetSecretsSecretReplicationUserManagedReplicaInput interface { pulumi.Input ToGetSecretsSecretReplicationUserManagedReplicaOutput() GetSecretsSecretReplicationUserManagedReplicaOutput ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext(context.Context) GetSecretsSecretReplicationUserManagedReplicaOutput }
GetSecretsSecretReplicationUserManagedReplicaInput is an input type that accepts GetSecretsSecretReplicationUserManagedReplicaArgs and GetSecretsSecretReplicationUserManagedReplicaOutput values. You can construct a concrete instance of `GetSecretsSecretReplicationUserManagedReplicaInput` via:
GetSecretsSecretReplicationUserManagedReplicaArgs{...}
type GetSecretsSecretReplicationUserManagedReplicaOutput ¶
type GetSecretsSecretReplicationUserManagedReplicaOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretReplicationUserManagedReplicaOutput) CustomerManagedEncryptions ¶
func (o GetSecretsSecretReplicationUserManagedReplicaOutput) CustomerManagedEncryptions() GetSecretsSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayOutput
Customer Managed Encryption for the secret. Structure is documented below.
func (GetSecretsSecretReplicationUserManagedReplicaOutput) ElementType ¶
func (GetSecretsSecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
func (GetSecretsSecretReplicationUserManagedReplicaOutput) Location ¶
func (o GetSecretsSecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
The canonical IDs of the location to replicate data.
func (GetSecretsSecretReplicationUserManagedReplicaOutput) ToGetSecretsSecretReplicationUserManagedReplicaOutput ¶
func (o GetSecretsSecretReplicationUserManagedReplicaOutput) ToGetSecretsSecretReplicationUserManagedReplicaOutput() GetSecretsSecretReplicationUserManagedReplicaOutput
func (GetSecretsSecretReplicationUserManagedReplicaOutput) ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext ¶
func (o GetSecretsSecretReplicationUserManagedReplicaOutput) ToGetSecretsSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretsSecretReplicationUserManagedReplicaOutput
type GetSecretsSecretRotationArgs ¶
type GetSecretsSecretRotationArgs struct { // Timestamp in UTC at which the Secret is scheduled to rotate. NextRotationTime pulumi.StringInput `pulumi:"nextRotationTime"` // The Duration between rotation notifications. RotationPeriod pulumi.StringInput `pulumi:"rotationPeriod"` }
func (GetSecretsSecretRotationArgs) ElementType ¶
func (GetSecretsSecretRotationArgs) ElementType() reflect.Type
func (GetSecretsSecretRotationArgs) ToGetSecretsSecretRotationOutput ¶
func (i GetSecretsSecretRotationArgs) ToGetSecretsSecretRotationOutput() GetSecretsSecretRotationOutput
func (GetSecretsSecretRotationArgs) ToGetSecretsSecretRotationOutputWithContext ¶
func (i GetSecretsSecretRotationArgs) ToGetSecretsSecretRotationOutputWithContext(ctx context.Context) GetSecretsSecretRotationOutput
type GetSecretsSecretRotationArray ¶
type GetSecretsSecretRotationArray []GetSecretsSecretRotationInput
func (GetSecretsSecretRotationArray) ElementType ¶
func (GetSecretsSecretRotationArray) ElementType() reflect.Type
func (GetSecretsSecretRotationArray) ToGetSecretsSecretRotationArrayOutput ¶
func (i GetSecretsSecretRotationArray) ToGetSecretsSecretRotationArrayOutput() GetSecretsSecretRotationArrayOutput
func (GetSecretsSecretRotationArray) ToGetSecretsSecretRotationArrayOutputWithContext ¶
func (i GetSecretsSecretRotationArray) ToGetSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretsSecretRotationArrayOutput
type GetSecretsSecretRotationArrayInput ¶
type GetSecretsSecretRotationArrayInput interface { pulumi.Input ToGetSecretsSecretRotationArrayOutput() GetSecretsSecretRotationArrayOutput ToGetSecretsSecretRotationArrayOutputWithContext(context.Context) GetSecretsSecretRotationArrayOutput }
GetSecretsSecretRotationArrayInput is an input type that accepts GetSecretsSecretRotationArray and GetSecretsSecretRotationArrayOutput values. You can construct a concrete instance of `GetSecretsSecretRotationArrayInput` via:
GetSecretsSecretRotationArray{ GetSecretsSecretRotationArgs{...} }
type GetSecretsSecretRotationArrayOutput ¶
type GetSecretsSecretRotationArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretRotationArrayOutput) ElementType ¶
func (GetSecretsSecretRotationArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretRotationArrayOutput) Index ¶
func (o GetSecretsSecretRotationArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretRotationOutput
func (GetSecretsSecretRotationArrayOutput) ToGetSecretsSecretRotationArrayOutput ¶
func (o GetSecretsSecretRotationArrayOutput) ToGetSecretsSecretRotationArrayOutput() GetSecretsSecretRotationArrayOutput
func (GetSecretsSecretRotationArrayOutput) ToGetSecretsSecretRotationArrayOutputWithContext ¶
func (o GetSecretsSecretRotationArrayOutput) ToGetSecretsSecretRotationArrayOutputWithContext(ctx context.Context) GetSecretsSecretRotationArrayOutput
type GetSecretsSecretRotationInput ¶
type GetSecretsSecretRotationInput interface { pulumi.Input ToGetSecretsSecretRotationOutput() GetSecretsSecretRotationOutput ToGetSecretsSecretRotationOutputWithContext(context.Context) GetSecretsSecretRotationOutput }
GetSecretsSecretRotationInput is an input type that accepts GetSecretsSecretRotationArgs and GetSecretsSecretRotationOutput values. You can construct a concrete instance of `GetSecretsSecretRotationInput` via:
GetSecretsSecretRotationArgs{...}
type GetSecretsSecretRotationOutput ¶
type GetSecretsSecretRotationOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretRotationOutput) ElementType ¶
func (GetSecretsSecretRotationOutput) ElementType() reflect.Type
func (GetSecretsSecretRotationOutput) NextRotationTime ¶
func (o GetSecretsSecretRotationOutput) NextRotationTime() pulumi.StringOutput
Timestamp in UTC at which the Secret is scheduled to rotate.
func (GetSecretsSecretRotationOutput) RotationPeriod ¶
func (o GetSecretsSecretRotationOutput) RotationPeriod() pulumi.StringOutput
The Duration between rotation notifications.
func (GetSecretsSecretRotationOutput) ToGetSecretsSecretRotationOutput ¶
func (o GetSecretsSecretRotationOutput) ToGetSecretsSecretRotationOutput() GetSecretsSecretRotationOutput
func (GetSecretsSecretRotationOutput) ToGetSecretsSecretRotationOutputWithContext ¶
func (o GetSecretsSecretRotationOutput) ToGetSecretsSecretRotationOutputWithContext(ctx context.Context) GetSecretsSecretRotationOutput
type GetSecretsSecretTopic ¶
type GetSecretsSecretTopic struct { // The resource name of the Pub/Sub topic that will be published to. Name string `pulumi:"name"` }
type GetSecretsSecretTopicArgs ¶
type GetSecretsSecretTopicArgs struct { // The resource name of the Pub/Sub topic that will be published to. Name pulumi.StringInput `pulumi:"name"` }
func (GetSecretsSecretTopicArgs) ElementType ¶
func (GetSecretsSecretTopicArgs) ElementType() reflect.Type
func (GetSecretsSecretTopicArgs) ToGetSecretsSecretTopicOutput ¶
func (i GetSecretsSecretTopicArgs) ToGetSecretsSecretTopicOutput() GetSecretsSecretTopicOutput
func (GetSecretsSecretTopicArgs) ToGetSecretsSecretTopicOutputWithContext ¶
func (i GetSecretsSecretTopicArgs) ToGetSecretsSecretTopicOutputWithContext(ctx context.Context) GetSecretsSecretTopicOutput
type GetSecretsSecretTopicArray ¶
type GetSecretsSecretTopicArray []GetSecretsSecretTopicInput
func (GetSecretsSecretTopicArray) ElementType ¶
func (GetSecretsSecretTopicArray) ElementType() reflect.Type
func (GetSecretsSecretTopicArray) ToGetSecretsSecretTopicArrayOutput ¶
func (i GetSecretsSecretTopicArray) ToGetSecretsSecretTopicArrayOutput() GetSecretsSecretTopicArrayOutput
func (GetSecretsSecretTopicArray) ToGetSecretsSecretTopicArrayOutputWithContext ¶
func (i GetSecretsSecretTopicArray) ToGetSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretsSecretTopicArrayOutput
type GetSecretsSecretTopicArrayInput ¶
type GetSecretsSecretTopicArrayInput interface { pulumi.Input ToGetSecretsSecretTopicArrayOutput() GetSecretsSecretTopicArrayOutput ToGetSecretsSecretTopicArrayOutputWithContext(context.Context) GetSecretsSecretTopicArrayOutput }
GetSecretsSecretTopicArrayInput is an input type that accepts GetSecretsSecretTopicArray and GetSecretsSecretTopicArrayOutput values. You can construct a concrete instance of `GetSecretsSecretTopicArrayInput` via:
GetSecretsSecretTopicArray{ GetSecretsSecretTopicArgs{...} }
type GetSecretsSecretTopicArrayOutput ¶
type GetSecretsSecretTopicArrayOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretTopicArrayOutput) ElementType ¶
func (GetSecretsSecretTopicArrayOutput) ElementType() reflect.Type
func (GetSecretsSecretTopicArrayOutput) Index ¶
func (o GetSecretsSecretTopicArrayOutput) Index(i pulumi.IntInput) GetSecretsSecretTopicOutput
func (GetSecretsSecretTopicArrayOutput) ToGetSecretsSecretTopicArrayOutput ¶
func (o GetSecretsSecretTopicArrayOutput) ToGetSecretsSecretTopicArrayOutput() GetSecretsSecretTopicArrayOutput
func (GetSecretsSecretTopicArrayOutput) ToGetSecretsSecretTopicArrayOutputWithContext ¶
func (o GetSecretsSecretTopicArrayOutput) ToGetSecretsSecretTopicArrayOutputWithContext(ctx context.Context) GetSecretsSecretTopicArrayOutput
type GetSecretsSecretTopicInput ¶
type GetSecretsSecretTopicInput interface { pulumi.Input ToGetSecretsSecretTopicOutput() GetSecretsSecretTopicOutput ToGetSecretsSecretTopicOutputWithContext(context.Context) GetSecretsSecretTopicOutput }
GetSecretsSecretTopicInput is an input type that accepts GetSecretsSecretTopicArgs and GetSecretsSecretTopicOutput values. You can construct a concrete instance of `GetSecretsSecretTopicInput` via:
GetSecretsSecretTopicArgs{...}
type GetSecretsSecretTopicOutput ¶
type GetSecretsSecretTopicOutput struct{ *pulumi.OutputState }
func (GetSecretsSecretTopicOutput) ElementType ¶
func (GetSecretsSecretTopicOutput) ElementType() reflect.Type
func (GetSecretsSecretTopicOutput) Name ¶
func (o GetSecretsSecretTopicOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to.
func (GetSecretsSecretTopicOutput) ToGetSecretsSecretTopicOutput ¶
func (o GetSecretsSecretTopicOutput) ToGetSecretsSecretTopicOutput() GetSecretsSecretTopicOutput
func (GetSecretsSecretTopicOutput) ToGetSecretsSecretTopicOutputWithContext ¶
func (o GetSecretsSecretTopicOutput) ToGetSecretsSecretTopicOutputWithContext(ctx context.Context) GetSecretsSecretTopicOutput
type LookupRegionalSecretArgs ¶ added in v8.3.0
type LookupRegionalSecretArgs struct { // The location of the regional secret. eg us-central1 Location string `pulumi:"location"` // The ID of the project in which the resource belongs. Project *string `pulumi:"project"` // The name of the regional secret. SecretId string `pulumi:"secretId"` }
A collection of arguments for invoking getRegionalSecret.
type LookupRegionalSecretIamPolicyArgs ¶ added in v8.3.0
type LookupRegionalSecretIamPolicyArgs struct { // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location *string `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` SecretId string `pulumi:"secretId"` }
A collection of arguments for invoking getRegionalSecretIamPolicy.
type LookupRegionalSecretIamPolicyOutputArgs ¶ added in v8.3.0
type LookupRegionalSecretIamPolicyOutputArgs struct { // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` SecretId pulumi.StringInput `pulumi:"secretId"` }
A collection of arguments for invoking getRegionalSecretIamPolicy.
func (LookupRegionalSecretIamPolicyOutputArgs) ElementType ¶ added in v8.3.0
func (LookupRegionalSecretIamPolicyOutputArgs) ElementType() reflect.Type
type LookupRegionalSecretIamPolicyResult ¶ added in v8.3.0
type LookupRegionalSecretIamPolicyResult struct { // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` // (Required only by `secretmanager.RegionalSecretIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` SecretId string `pulumi:"secretId"` }
A collection of values returned by getRegionalSecretIamPolicy.
func LookupRegionalSecretIamPolicy ¶ added in v8.3.0
func LookupRegionalSecretIamPolicy(ctx *pulumi.Context, args *LookupRegionalSecretIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRegionalSecretIamPolicyResult, error)
Retrieves the current IAM policy data for regionalsecret
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.LookupRegionalSecretIamPolicy(ctx, &secretmanager.LookupRegionalSecretIamPolicyArgs{ Project: pulumi.StringRef(regional_secret_basic.Project), Location: pulumi.StringRef(regional_secret_basic.Location), SecretId: regional_secret_basic.SecretId, }, nil) if err != nil { return err } return nil }) }
```
type LookupRegionalSecretIamPolicyResultOutput ¶ added in v8.3.0
type LookupRegionalSecretIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegionalSecretIamPolicy.
func LookupRegionalSecretIamPolicyOutput ¶ added in v8.3.0
func LookupRegionalSecretIamPolicyOutput(ctx *pulumi.Context, args LookupRegionalSecretIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRegionalSecretIamPolicyResultOutput
func (LookupRegionalSecretIamPolicyResultOutput) ElementType ¶ added in v8.3.0
func (LookupRegionalSecretIamPolicyResultOutput) ElementType() reflect.Type
func (LookupRegionalSecretIamPolicyResultOutput) Etag ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupRegionalSecretIamPolicyResultOutput) Id ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRegionalSecretIamPolicyResultOutput) Location ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupRegionalSecretIamPolicyResultOutput) PolicyData ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `secretmanager.RegionalSecretIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupRegionalSecretIamPolicyResultOutput) Project ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupRegionalSecretIamPolicyResultOutput) SecretId ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) SecretId() pulumi.StringOutput
func (LookupRegionalSecretIamPolicyResultOutput) ToLookupRegionalSecretIamPolicyResultOutput ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) ToLookupRegionalSecretIamPolicyResultOutput() LookupRegionalSecretIamPolicyResultOutput
func (LookupRegionalSecretIamPolicyResultOutput) ToLookupRegionalSecretIamPolicyResultOutputWithContext ¶ added in v8.3.0
func (o LookupRegionalSecretIamPolicyResultOutput) ToLookupRegionalSecretIamPolicyResultOutputWithContext(ctx context.Context) LookupRegionalSecretIamPolicyResultOutput
type LookupRegionalSecretOutputArgs ¶ added in v8.3.0
type LookupRegionalSecretOutputArgs struct { // The location of the regional secret. eg us-central1 Location pulumi.StringInput `pulumi:"location"` // The ID of the project in which the resource belongs. Project pulumi.StringPtrInput `pulumi:"project"` // The name of the regional secret. SecretId pulumi.StringInput `pulumi:"secretId"` }
A collection of arguments for invoking getRegionalSecret.
func (LookupRegionalSecretOutputArgs) ElementType ¶ added in v8.3.0
func (LookupRegionalSecretOutputArgs) ElementType() reflect.Type
type LookupRegionalSecretResult ¶ added in v8.3.0
type LookupRegionalSecretResult struct { Annotations map[string]string `pulumi:"annotations"` CreateTime string `pulumi:"createTime"` CustomerManagedEncryptions []GetRegionalSecretCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` EffectiveAnnotations map[string]string `pulumi:"effectiveAnnotations"` EffectiveLabels map[string]string `pulumi:"effectiveLabels"` ExpireTime string `pulumi:"expireTime"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Labels map[string]string `pulumi:"labels"` Location string `pulumi:"location"` Name string `pulumi:"name"` Project *string `pulumi:"project"` PulumiLabels map[string]string `pulumi:"pulumiLabels"` Rotations []GetRegionalSecretRotation `pulumi:"rotations"` SecretId string `pulumi:"secretId"` Topics []GetRegionalSecretTopic `pulumi:"topics"` Ttl string `pulumi:"ttl"` VersionAliases map[string]string `pulumi:"versionAliases"` VersionDestroyTtl string `pulumi:"versionDestroyTtl"` }
A collection of values returned by getRegionalSecret.
func LookupRegionalSecret ¶ added in v8.3.0
func LookupRegionalSecret(ctx *pulumi.Context, args *LookupRegionalSecretArgs, opts ...pulumi.InvokeOption) (*LookupRegionalSecretResult, error)
Use this data source to get information about a Secret Manager Regional Secret
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.LookupRegionalSecret(ctx, &secretmanager.LookupRegionalSecretArgs{ SecretId: "secretname", Location: "us-central1", }, nil) if err != nil { return err } return nil }) }
```
type LookupRegionalSecretResultOutput ¶ added in v8.3.0
type LookupRegionalSecretResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegionalSecret.
func LookupRegionalSecretOutput ¶ added in v8.3.0
func LookupRegionalSecretOutput(ctx *pulumi.Context, args LookupRegionalSecretOutputArgs, opts ...pulumi.InvokeOption) LookupRegionalSecretResultOutput
func (LookupRegionalSecretResultOutput) Annotations ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Annotations() pulumi.StringMapOutput
func (LookupRegionalSecretResultOutput) CreateTime ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) CreateTime() pulumi.StringOutput
func (LookupRegionalSecretResultOutput) CustomerManagedEncryptions ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) CustomerManagedEncryptions() GetRegionalSecretCustomerManagedEncryptionArrayOutput
func (LookupRegionalSecretResultOutput) EffectiveAnnotations ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (LookupRegionalSecretResultOutput) EffectiveLabels ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) EffectiveLabels() pulumi.StringMapOutput
func (LookupRegionalSecretResultOutput) ElementType ¶ added in v8.3.0
func (LookupRegionalSecretResultOutput) ElementType() reflect.Type
func (LookupRegionalSecretResultOutput) ExpireTime ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) ExpireTime() pulumi.StringOutput
func (LookupRegionalSecretResultOutput) Id ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRegionalSecretResultOutput) Labels ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Labels() pulumi.StringMapOutput
func (LookupRegionalSecretResultOutput) Location ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Location() pulumi.StringOutput
func (LookupRegionalSecretResultOutput) Name ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Name() pulumi.StringOutput
func (LookupRegionalSecretResultOutput) Project ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Project() pulumi.StringPtrOutput
func (LookupRegionalSecretResultOutput) PulumiLabels ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) PulumiLabels() pulumi.StringMapOutput
func (LookupRegionalSecretResultOutput) Rotations ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Rotations() GetRegionalSecretRotationArrayOutput
func (LookupRegionalSecretResultOutput) SecretId ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) SecretId() pulumi.StringOutput
func (LookupRegionalSecretResultOutput) ToLookupRegionalSecretResultOutput ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) ToLookupRegionalSecretResultOutput() LookupRegionalSecretResultOutput
func (LookupRegionalSecretResultOutput) ToLookupRegionalSecretResultOutputWithContext ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) ToLookupRegionalSecretResultOutputWithContext(ctx context.Context) LookupRegionalSecretResultOutput
func (LookupRegionalSecretResultOutput) Topics ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Topics() GetRegionalSecretTopicArrayOutput
func (LookupRegionalSecretResultOutput) Ttl ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) Ttl() pulumi.StringOutput
func (LookupRegionalSecretResultOutput) VersionAliases ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) VersionAliases() pulumi.StringMapOutput
func (LookupRegionalSecretResultOutput) VersionDestroyTtl ¶ added in v8.3.0
func (o LookupRegionalSecretResultOutput) VersionDestroyTtl() pulumi.StringOutput
type LookupRegionalSecretVersionArgs ¶ added in v8.3.0
type LookupRegionalSecretVersionArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` // Location of Secret Manager regional secret resource. // It must be provided when the `secret` field provided consists of only the name of the regional secret. Location *string `pulumi:"location"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` // The regional secret to get the secret version for. // This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided. Secret string `pulumi:"secret"` // The version of the regional secret to get. If it // is not provided, the latest version is retrieved. Version *string `pulumi:"version"` }
A collection of arguments for invoking getRegionalSecretVersion.
type LookupRegionalSecretVersionOutputArgs ¶ added in v8.3.0
type LookupRegionalSecretVersionOutputArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 pulumi.BoolPtrInput `pulumi:"isSecretDataBase64"` // Location of Secret Manager regional secret resource. // It must be provided when the `secret` field provided consists of only the name of the regional secret. Location pulumi.StringPtrInput `pulumi:"location"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` // The regional secret to get the secret version for. // This can be either the reference of the regional secret as in `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` or only the name of the regional secret as in `{{secret_id}}`. If only the name of the regional secret is provided, the location must also be provided. Secret pulumi.StringInput `pulumi:"secret"` // The version of the regional secret to get. If it // is not provided, the latest version is retrieved. Version pulumi.StringPtrInput `pulumi:"version"` }
A collection of arguments for invoking getRegionalSecretVersion.
func (LookupRegionalSecretVersionOutputArgs) ElementType ¶ added in v8.3.0
func (LookupRegionalSecretVersionOutputArgs) ElementType() reflect.Type
type LookupRegionalSecretVersionResult ¶ added in v8.3.0
type LookupRegionalSecretVersionResult struct { // The time at which the regional secret was created. CreateTime string `pulumi:"createTime"` // The customer-managed encryption configuration of the regional secret. Structure is documented below. CustomerManagedEncryptions []GetRegionalSecretVersionCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` // The time at which the regional secret was destroyed. Only present if state is DESTROYED. DestroyTime string `pulumi:"destroyTime"` // True if the current state of the regional SecretVersion is enabled. Enabled bool `pulumi:"enabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` Location string `pulumi:"location"` // The resource name of the regional SecretVersion. Format: // `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}` Name string `pulumi:"name"` Project string `pulumi:"project"` Secret string `pulumi:"secret"` // The secret data. No larger than 64KiB. SecretData string `pulumi:"secretData"` Version string `pulumi:"version"` }
A collection of values returned by getRegionalSecretVersion.
func LookupRegionalSecretVersion ¶ added in v8.3.0
func LookupRegionalSecretVersion(ctx *pulumi.Context, args *LookupRegionalSecretVersionArgs, opts ...pulumi.InvokeOption) (*LookupRegionalSecretVersionResult, error)
Get the value and metadata from a Secret Manager regional secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/regional-secrets-overview) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets.versions). If you don't need the metadata (i.e., if you want to use a more limited role to access the regional secret version only), see also the secretmanager.getRegionalSecretVersionAccess datasource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.LookupRegionalSecretVersion(ctx, &secretmanager.LookupRegionalSecretVersionArgs{ Secret: "my-secret", Location: pulumi.StringRef("us-central1"), }, nil) if err != nil { return err } return nil }) }
```
type LookupRegionalSecretVersionResultOutput ¶ added in v8.3.0
type LookupRegionalSecretVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRegionalSecretVersion.
func LookupRegionalSecretVersionOutput ¶ added in v8.3.0
func LookupRegionalSecretVersionOutput(ctx *pulumi.Context, args LookupRegionalSecretVersionOutputArgs, opts ...pulumi.InvokeOption) LookupRegionalSecretVersionResultOutput
func (LookupRegionalSecretVersionResultOutput) CreateTime ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) CreateTime() pulumi.StringOutput
The time at which the regional secret was created.
func (LookupRegionalSecretVersionResultOutput) CustomerManagedEncryptions ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) CustomerManagedEncryptions() GetRegionalSecretVersionCustomerManagedEncryptionArrayOutput
The customer-managed encryption configuration of the regional secret. Structure is documented below.
func (LookupRegionalSecretVersionResultOutput) DestroyTime ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) DestroyTime() pulumi.StringOutput
The time at which the regional secret was destroyed. Only present if state is DESTROYED.
func (LookupRegionalSecretVersionResultOutput) ElementType ¶ added in v8.3.0
func (LookupRegionalSecretVersionResultOutput) ElementType() reflect.Type
func (LookupRegionalSecretVersionResultOutput) Enabled ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Enabled() pulumi.BoolOutput
True if the current state of the regional SecretVersion is enabled.
func (LookupRegionalSecretVersionResultOutput) Id ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRegionalSecretVersionResultOutput) IsSecretDataBase64 ¶ added in v8.7.0
func (o LookupRegionalSecretVersionResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
func (LookupRegionalSecretVersionResultOutput) Location ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Location() pulumi.StringOutput
func (LookupRegionalSecretVersionResultOutput) Name ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Name() pulumi.StringOutput
The resource name of the regional SecretVersion. Format: `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}`
func (LookupRegionalSecretVersionResultOutput) Project ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Project() pulumi.StringOutput
func (LookupRegionalSecretVersionResultOutput) Secret ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Secret() pulumi.StringOutput
func (LookupRegionalSecretVersionResultOutput) SecretData ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) SecretData() pulumi.StringOutput
The secret data. No larger than 64KiB.
func (LookupRegionalSecretVersionResultOutput) ToLookupRegionalSecretVersionResultOutput ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) ToLookupRegionalSecretVersionResultOutput() LookupRegionalSecretVersionResultOutput
func (LookupRegionalSecretVersionResultOutput) ToLookupRegionalSecretVersionResultOutputWithContext ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) ToLookupRegionalSecretVersionResultOutputWithContext(ctx context.Context) LookupRegionalSecretVersionResultOutput
func (LookupRegionalSecretVersionResultOutput) Version ¶ added in v8.3.0
func (o LookupRegionalSecretVersionResultOutput) Version() pulumi.StringOutput
type LookupSecretArgs ¶
type LookupSecretArgs struct { // The ID of the project in which the resource belongs. Project *string `pulumi:"project"` // The name of the secret. SecretId string `pulumi:"secretId"` }
A collection of arguments for invoking getSecret.
type LookupSecretIamPolicyArgs ¶
type LookupSecretIamPolicyArgs struct { // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` SecretId string `pulumi:"secretId"` }
A collection of arguments for invoking getSecretIamPolicy.
type LookupSecretIamPolicyOutputArgs ¶
type LookupSecretIamPolicyOutputArgs struct { // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` SecretId pulumi.StringInput `pulumi:"secretId"` }
A collection of arguments for invoking getSecretIamPolicy.
func (LookupSecretIamPolicyOutputArgs) ElementType ¶
func (LookupSecretIamPolicyOutputArgs) ElementType() reflect.Type
type LookupSecretIamPolicyResult ¶
type LookupSecretIamPolicyResult struct { // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // (Required only by `secretmanager.SecretIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` SecretId string `pulumi:"secretId"` }
A collection of values returned by getSecretIamPolicy.
func LookupSecretIamPolicy ¶
func LookupSecretIamPolicy(ctx *pulumi.Context, args *LookupSecretIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSecretIamPolicyResult, error)
Retrieves the current IAM policy data for secret
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.LookupSecretIamPolicy(ctx, &secretmanager.LookupSecretIamPolicyArgs{ Project: pulumi.StringRef(secret_basic.Project), SecretId: secret_basic.SecretId, }, nil) if err != nil { return err } return nil }) }
```
type LookupSecretIamPolicyResultOutput ¶
type LookupSecretIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecretIamPolicy.
func LookupSecretIamPolicyOutput ¶
func LookupSecretIamPolicyOutput(ctx *pulumi.Context, args LookupSecretIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupSecretIamPolicyResultOutput
func (LookupSecretIamPolicyResultOutput) ElementType ¶
func (LookupSecretIamPolicyResultOutput) ElementType() reflect.Type
func (LookupSecretIamPolicyResultOutput) Etag ¶
func (o LookupSecretIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupSecretIamPolicyResultOutput) Id ¶
func (o LookupSecretIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSecretIamPolicyResultOutput) PolicyData ¶
func (o LookupSecretIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `secretmanager.SecretIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupSecretIamPolicyResultOutput) Project ¶
func (o LookupSecretIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupSecretIamPolicyResultOutput) SecretId ¶
func (o LookupSecretIamPolicyResultOutput) SecretId() pulumi.StringOutput
func (LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutput ¶
func (o LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutput() LookupSecretIamPolicyResultOutput
func (LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutputWithContext ¶
func (o LookupSecretIamPolicyResultOutput) ToLookupSecretIamPolicyResultOutputWithContext(ctx context.Context) LookupSecretIamPolicyResultOutput
type LookupSecretOutputArgs ¶
type LookupSecretOutputArgs struct { // The ID of the project in which the resource belongs. Project pulumi.StringPtrInput `pulumi:"project"` // The name of the secret. SecretId pulumi.StringInput `pulumi:"secretId"` }
A collection of arguments for invoking getSecret.
func (LookupSecretOutputArgs) ElementType ¶
func (LookupSecretOutputArgs) ElementType() reflect.Type
type LookupSecretResult ¶
type LookupSecretResult struct { Annotations map[string]string `pulumi:"annotations"` CreateTime string `pulumi:"createTime"` EffectiveAnnotations map[string]string `pulumi:"effectiveAnnotations"` EffectiveLabels map[string]string `pulumi:"effectiveLabels"` ExpireTime string `pulumi:"expireTime"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Labels map[string]string `pulumi:"labels"` Name string `pulumi:"name"` Project *string `pulumi:"project"` PulumiLabels map[string]string `pulumi:"pulumiLabels"` Replications []GetSecretReplication `pulumi:"replications"` Rotations []GetSecretRotation `pulumi:"rotations"` SecretId string `pulumi:"secretId"` Topics []GetSecretTopic `pulumi:"topics"` Ttl string `pulumi:"ttl"` VersionAliases map[string]string `pulumi:"versionAliases"` VersionDestroyTtl string `pulumi:"versionDestroyTtl"` }
A collection of values returned by getSecret.
func LookupSecret ¶
func LookupSecret(ctx *pulumi.Context, args *LookupSecretArgs, opts ...pulumi.InvokeOption) (*LookupSecretResult, error)
Use this data source to get information about a Secret Manager Secret
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.LookupSecret(ctx, &secretmanager.LookupSecretArgs{ SecretId: "foobar", }, nil) if err != nil { return err } return nil }) }
```
type LookupSecretResultOutput ¶
type LookupSecretResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecret.
func LookupSecretOutput ¶
func LookupSecretOutput(ctx *pulumi.Context, args LookupSecretOutputArgs, opts ...pulumi.InvokeOption) LookupSecretResultOutput
func (LookupSecretResultOutput) Annotations ¶
func (o LookupSecretResultOutput) Annotations() pulumi.StringMapOutput
func (LookupSecretResultOutput) CreateTime ¶
func (o LookupSecretResultOutput) CreateTime() pulumi.StringOutput
func (LookupSecretResultOutput) EffectiveAnnotations ¶
func (o LookupSecretResultOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (LookupSecretResultOutput) EffectiveLabels ¶
func (o LookupSecretResultOutput) EffectiveLabels() pulumi.StringMapOutput
func (LookupSecretResultOutput) ElementType ¶
func (LookupSecretResultOutput) ElementType() reflect.Type
func (LookupSecretResultOutput) ExpireTime ¶
func (o LookupSecretResultOutput) ExpireTime() pulumi.StringOutput
func (LookupSecretResultOutput) Id ¶
func (o LookupSecretResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSecretResultOutput) Labels ¶
func (o LookupSecretResultOutput) Labels() pulumi.StringMapOutput
func (LookupSecretResultOutput) Name ¶
func (o LookupSecretResultOutput) Name() pulumi.StringOutput
func (LookupSecretResultOutput) Project ¶
func (o LookupSecretResultOutput) Project() pulumi.StringPtrOutput
func (LookupSecretResultOutput) PulumiLabels ¶
func (o LookupSecretResultOutput) PulumiLabels() pulumi.StringMapOutput
func (LookupSecretResultOutput) Replications ¶
func (o LookupSecretResultOutput) Replications() GetSecretReplicationArrayOutput
func (LookupSecretResultOutput) Rotations ¶
func (o LookupSecretResultOutput) Rotations() GetSecretRotationArrayOutput
func (LookupSecretResultOutput) SecretId ¶
func (o LookupSecretResultOutput) SecretId() pulumi.StringOutput
func (LookupSecretResultOutput) ToLookupSecretResultOutput ¶
func (o LookupSecretResultOutput) ToLookupSecretResultOutput() LookupSecretResultOutput
func (LookupSecretResultOutput) ToLookupSecretResultOutputWithContext ¶
func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx context.Context) LookupSecretResultOutput
func (LookupSecretResultOutput) Topics ¶
func (o LookupSecretResultOutput) Topics() GetSecretTopicArrayOutput
func (LookupSecretResultOutput) Ttl ¶
func (o LookupSecretResultOutput) Ttl() pulumi.StringOutput
func (LookupSecretResultOutput) VersionAliases ¶
func (o LookupSecretResultOutput) VersionAliases() pulumi.StringMapOutput
func (LookupSecretResultOutput) VersionDestroyTtl ¶
func (o LookupSecretResultOutput) VersionDestroyTtl() pulumi.StringOutput
type LookupSecretVersionArgs ¶
type LookupSecretVersionArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` // The secret to get the secret version for. Secret string `pulumi:"secret"` // The version of the secret to get. If it // is not provided, the latest version is retrieved. Version *string `pulumi:"version"` }
A collection of arguments for invoking getSecretVersion.
type LookupSecretVersionOutputArgs ¶
type LookupSecretVersionOutputArgs struct { // If set to 'true', the secret data is // expected to be base64-encoded string. IsSecretDataBase64 pulumi.BoolPtrInput `pulumi:"isSecretDataBase64"` // The project to get the secret version for. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` // The secret to get the secret version for. Secret pulumi.StringInput `pulumi:"secret"` // The version of the secret to get. If it // is not provided, the latest version is retrieved. Version pulumi.StringPtrInput `pulumi:"version"` }
A collection of arguments for invoking getSecretVersion.
func (LookupSecretVersionOutputArgs) ElementType ¶
func (LookupSecretVersionOutputArgs) ElementType() reflect.Type
type LookupSecretVersionResult ¶
type LookupSecretVersionResult struct { // The time at which the Secret was created. CreateTime string `pulumi:"createTime"` // The time at which the Secret was destroyed. Only present if state is DESTROYED. DestroyTime string `pulumi:"destroyTime"` // True if the current state of the SecretVersion is enabled. Enabled bool `pulumi:"enabled"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IsSecretDataBase64 *bool `pulumi:"isSecretDataBase64"` // The resource name of the SecretVersion. Format: // `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}` Name string `pulumi:"name"` Project string `pulumi:"project"` Secret string `pulumi:"secret"` // The secret data. No larger than 64KiB. SecretData string `pulumi:"secretData"` Version string `pulumi:"version"` }
A collection of values returned by getSecretVersion.
func LookupSecretVersion ¶
func LookupSecretVersion(ctx *pulumi.Context, args *LookupSecretVersionArgs, opts ...pulumi.InvokeOption) (*LookupSecretVersionResult, error)
Get the value and metadata from a Secret Manager secret version. For more information see the [official documentation](https://cloud.google.com/secret-manager/docs/) and [API](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets.versions). If you don't need the metadata (i.e., if you want to use a more limited role to access the secret version only), see also the secretmanager.getSecretVersionAccess datasource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.LookupSecretVersion(ctx, &secretmanager.LookupSecretVersionArgs{ Secret: "my-secret", }, nil) if err != nil { return err } return nil }) }
```
type LookupSecretVersionResultOutput ¶
type LookupSecretVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecretVersion.
func LookupSecretVersionOutput ¶
func LookupSecretVersionOutput(ctx *pulumi.Context, args LookupSecretVersionOutputArgs, opts ...pulumi.InvokeOption) LookupSecretVersionResultOutput
func (LookupSecretVersionResultOutput) CreateTime ¶
func (o LookupSecretVersionResultOutput) CreateTime() pulumi.StringOutput
The time at which the Secret was created.
func (LookupSecretVersionResultOutput) DestroyTime ¶
func (o LookupSecretVersionResultOutput) DestroyTime() pulumi.StringOutput
The time at which the Secret was destroyed. Only present if state is DESTROYED.
func (LookupSecretVersionResultOutput) ElementType ¶
func (LookupSecretVersionResultOutput) ElementType() reflect.Type
func (LookupSecretVersionResultOutput) Enabled ¶
func (o LookupSecretVersionResultOutput) Enabled() pulumi.BoolOutput
True if the current state of the SecretVersion is enabled.
func (LookupSecretVersionResultOutput) Id ¶
func (o LookupSecretVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSecretVersionResultOutput) IsSecretDataBase64 ¶ added in v8.7.0
func (o LookupSecretVersionResultOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
func (LookupSecretVersionResultOutput) Name ¶
func (o LookupSecretVersionResultOutput) Name() pulumi.StringOutput
The resource name of the SecretVersion. Format: `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
func (LookupSecretVersionResultOutput) Project ¶
func (o LookupSecretVersionResultOutput) Project() pulumi.StringOutput
func (LookupSecretVersionResultOutput) Secret ¶
func (o LookupSecretVersionResultOutput) Secret() pulumi.StringOutput
func (LookupSecretVersionResultOutput) SecretData ¶
func (o LookupSecretVersionResultOutput) SecretData() pulumi.StringOutput
The secret data. No larger than 64KiB.
func (LookupSecretVersionResultOutput) ToLookupSecretVersionResultOutput ¶
func (o LookupSecretVersionResultOutput) ToLookupSecretVersionResultOutput() LookupSecretVersionResultOutput
func (LookupSecretVersionResultOutput) ToLookupSecretVersionResultOutputWithContext ¶
func (o LookupSecretVersionResultOutput) ToLookupSecretVersionResultOutputWithContext(ctx context.Context) LookupSecretVersionResultOutput
func (LookupSecretVersionResultOutput) Version ¶
func (o LookupSecretVersionResultOutput) Version() pulumi.StringOutput
type RegionalSecret ¶ added in v8.3.0
type RegionalSecret struct { pulumi.CustomResourceState // Custom metadata about the regional secret. // Annotations are distinct from various forms of labels. Annotations exist to allow // client tools to store their own state information without requiring a database. // Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of // maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and // may have dashes (-), underscores (_), dots (.), and alphanumerics in between these // symbols. // The total size of annotation keys and values must be less than 16KiB. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // The time at which the regional secret was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The customer-managed encryption configuration of the regional secret. // Structure is documented below. CustomerManagedEncryption RegionalSecretCustomerManagedEncryptionPtrOutput `pulumi:"customerManagedEncryption"` EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Timestamp in UTC when the regional secret is scheduled to expire. This is always provided on // output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with // nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and // "2014-10-02T15:01:23.045123456Z". Only one of `expireTime` or `ttl` can be provided. ExpireTime pulumi.StringOutput `pulumi:"expireTime"` // The labels assigned to this regional secret. // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} // No more than 64 labels can be assigned to a given resource. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location of the regional secret. eg us-central1 Location pulumi.StringOutput `pulumi:"location"` // The resource name of the regional secret. Format: // `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The rotation time and period for a regional secret. At `nextRotationTime`, Secret Manager // will send a Pub/Sub notification to the topics configured on the Secret. `topics` must be // set to configure rotation. // Structure is documented below. Rotation RegionalSecretRotationPtrOutput `pulumi:"rotation"` // This must be unique within the project. // // *** SecretId pulumi.StringOutput `pulumi:"secretId"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane // operations are called on the regional secret or its versions. // Structure is documented below. Topics RegionalSecretTopicArrayOutput `pulumi:"topics"` // The TTL for the regional secret. A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Only one of `ttl` or `expireTime` can be provided. Ttl pulumi.StringPtrOutput `pulumi:"ttl"` // Mapping from version alias to version name. // A version alias is a string with a maximum length of 63 characters and can contain // uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') // characters. An alias string must start with a letter and cannot be the string // 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. VersionAliases pulumi.StringMapOutput `pulumi:"versionAliases"` // Secret Version TTL after destruction request. // This is a part of the delayed delete feature on Secret Version. // For secret with versionDestroyTtl>0, version destruction doesn't happen immediately // on calling destroy instead the version goes to a disabled state and // the actual destruction happens after this TTL expires. It must be atleast 24h. VersionDestroyTtl pulumi.StringPtrOutput `pulumi:"versionDestroyTtl"` }
A Regional Secret is a logical secret whose value and versions can be created and accessed within a region only.
To get more information about RegionalSecret, see:
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.locations.secrets)
## Example Usage
### Regional Secret Config Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "regional-secret-basic", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("tf-reg-secret"), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Annotations: pulumi.StringMap{ "key1": pulumi.String("value1"), "key2": pulumi.String("value2"), "key3": pulumi.String("value3"), }, }) if err != nil { return err } return nil }) }
``` ### Regional Secret With Cmek
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil) if err != nil { return err } _, err = kms.NewCryptoKeyIAMMember(ctx, "kms-secret-binding", &kms.CryptoKeyIAMMemberArgs{ CryptoKeyId: pulumi.String("kms-key"), Role: pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"), Member: pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-secretmanager.iam.gserviceaccount.com", project.Number), }) if err != nil { return err } _, err = secretmanager.NewRegionalSecret(ctx, "regional-secret-with-cmek", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("tf-reg-secret"), Location: pulumi.String("us-central1"), CustomerManagedEncryption: &secretmanager.RegionalSecretCustomerManagedEncryptionArgs{ KmsKeyName: pulumi.String("kms-key"), }, }, pulumi.DependsOn([]pulumi.Resource{ kms_secret_binding, })) if err != nil { return err } return nil }) }
``` ### Regional Secret With Rotation
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/pubsub" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil) if err != nil { return err } topic, err := pubsub.NewTopic(ctx, "topic", &pubsub.TopicArgs{ Name: pulumi.String("tf-topic"), }) if err != nil { return err } secretsManagerAccess, err := pubsub.NewTopicIAMMember(ctx, "secrets_manager_access", &pubsub.TopicIAMMemberArgs{ Topic: topic.Name, Role: pulumi.String("roles/pubsub.publisher"), Member: pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-secretmanager.iam.gserviceaccount.com", project.Number), }) if err != nil { return err } _, err = secretmanager.NewRegionalSecret(ctx, "regional-secret-with-rotation", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("tf-reg-secret"), Location: pulumi.String("us-central1"), Topics: secretmanager.RegionalSecretTopicArray{ &secretmanager.RegionalSecretTopicArgs{ Name: topic.ID(), }, }, Rotation: &secretmanager.RegionalSecretRotationArgs{ RotationPeriod: pulumi.String("3600s"), NextRotationTime: pulumi.String("2045-11-30T00:00:00Z"), }, }, pulumi.DependsOn([]pulumi.Resource{ secretsManagerAccess, })) if err != nil { return err } return nil }) }
``` ### Regional Secret With Ttl
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "regional-secret-with-ttl", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("tf-reg-secret"), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Annotations: pulumi.StringMap{ "key1": pulumi.String("value1"), "key2": pulumi.String("value2"), "key3": pulumi.String("value3"), }, Ttl: pulumi.String("36000s"), }) if err != nil { return err } return nil }) }
``` ### Regional Secret With Expire Time
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "regional-secret-with-expire-time", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("tf-reg-secret"), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Annotations: pulumi.StringMap{ "key1": pulumi.String("value1"), "key2": pulumi.String("value2"), "key3": pulumi.String("value3"), }, ExpireTime: pulumi.String("2055-11-30T00:00:00Z"), }) if err != nil { return err } return nil }) }
``` ### Regional Secret With Version Destroy Ttl
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "regional-secret-with-version-destroy-ttl", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("tf-reg-secret"), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Annotations: pulumi.StringMap{ "key1": pulumi.String("value1"), "key2": pulumi.String("value2"), "key3": pulumi.String("value3"), }, VersionDestroyTtl: pulumi.String("86400s"), }) if err != nil { return err } return nil }) }
```
## Import
RegionalSecret can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}`
* `{{project}}/{{location}}/{{secret_id}}`
* `{{location}}/{{secret_id}}`
When using the `pulumi import` command, RegionalSecret can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:secretmanager/regionalSecret:RegionalSecret default projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} ```
```sh $ pulumi import gcp:secretmanager/regionalSecret:RegionalSecret default {{project}}/{{location}}/{{secret_id}} ```
```sh $ pulumi import gcp:secretmanager/regionalSecret:RegionalSecret default {{location}}/{{secret_id}} ```
func GetRegionalSecret ¶ added in v8.3.0
func GetRegionalSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionalSecretState, opts ...pulumi.ResourceOption) (*RegionalSecret, error)
GetRegionalSecret gets an existing RegionalSecret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegionalSecret ¶ added in v8.3.0
func NewRegionalSecret(ctx *pulumi.Context, name string, args *RegionalSecretArgs, opts ...pulumi.ResourceOption) (*RegionalSecret, error)
NewRegionalSecret registers a new resource with the given unique name, arguments, and options.
func (*RegionalSecret) ElementType ¶ added in v8.3.0
func (*RegionalSecret) ElementType() reflect.Type
func (*RegionalSecret) ToRegionalSecretOutput ¶ added in v8.3.0
func (i *RegionalSecret) ToRegionalSecretOutput() RegionalSecretOutput
func (*RegionalSecret) ToRegionalSecretOutputWithContext ¶ added in v8.3.0
func (i *RegionalSecret) ToRegionalSecretOutputWithContext(ctx context.Context) RegionalSecretOutput
type RegionalSecretArgs ¶ added in v8.3.0
type RegionalSecretArgs struct { // Custom metadata about the regional secret. // Annotations are distinct from various forms of labels. Annotations exist to allow // client tools to store their own state information without requiring a database. // Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of // maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and // may have dashes (-), underscores (_), dots (.), and alphanumerics in between these // symbols. // The total size of annotation keys and values must be less than 16KiB. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // The customer-managed encryption configuration of the regional secret. // Structure is documented below. CustomerManagedEncryption RegionalSecretCustomerManagedEncryptionPtrInput // Timestamp in UTC when the regional secret is scheduled to expire. This is always provided on // output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with // nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and // "2014-10-02T15:01:23.045123456Z". Only one of `expireTime` or `ttl` can be provided. ExpireTime pulumi.StringPtrInput // The labels assigned to this regional secret. // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} // No more than 64 labels can be assigned to a given resource. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of the regional secret. eg us-central1 Location pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The rotation time and period for a regional secret. At `nextRotationTime`, Secret Manager // will send a Pub/Sub notification to the topics configured on the Secret. `topics` must be // set to configure rotation. // Structure is documented below. Rotation RegionalSecretRotationPtrInput // This must be unique within the project. // // *** SecretId pulumi.StringInput // A list of up to 10 Pub/Sub topics to which messages are published when control plane // operations are called on the regional secret or its versions. // Structure is documented below. Topics RegionalSecretTopicArrayInput // The TTL for the regional secret. A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Only one of `ttl` or `expireTime` can be provided. Ttl pulumi.StringPtrInput // Mapping from version alias to version name. // A version alias is a string with a maximum length of 63 characters and can contain // uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') // characters. An alias string must start with a letter and cannot be the string // 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. VersionAliases pulumi.StringMapInput // Secret Version TTL after destruction request. // This is a part of the delayed delete feature on Secret Version. // For secret with versionDestroyTtl>0, version destruction doesn't happen immediately // on calling destroy instead the version goes to a disabled state and // the actual destruction happens after this TTL expires. It must be atleast 24h. VersionDestroyTtl pulumi.StringPtrInput }
The set of arguments for constructing a RegionalSecret resource.
func (RegionalSecretArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretArgs) ElementType() reflect.Type
type RegionalSecretArray ¶ added in v8.3.0
type RegionalSecretArray []RegionalSecretInput
func (RegionalSecretArray) ElementType ¶ added in v8.3.0
func (RegionalSecretArray) ElementType() reflect.Type
func (RegionalSecretArray) ToRegionalSecretArrayOutput ¶ added in v8.3.0
func (i RegionalSecretArray) ToRegionalSecretArrayOutput() RegionalSecretArrayOutput
func (RegionalSecretArray) ToRegionalSecretArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretArray) ToRegionalSecretArrayOutputWithContext(ctx context.Context) RegionalSecretArrayOutput
type RegionalSecretArrayInput ¶ added in v8.3.0
type RegionalSecretArrayInput interface { pulumi.Input ToRegionalSecretArrayOutput() RegionalSecretArrayOutput ToRegionalSecretArrayOutputWithContext(context.Context) RegionalSecretArrayOutput }
RegionalSecretArrayInput is an input type that accepts RegionalSecretArray and RegionalSecretArrayOutput values. You can construct a concrete instance of `RegionalSecretArrayInput` via:
RegionalSecretArray{ RegionalSecretArgs{...} }
type RegionalSecretArrayOutput ¶ added in v8.3.0
type RegionalSecretArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretArrayOutput) ElementType() reflect.Type
func (RegionalSecretArrayOutput) Index ¶ added in v8.3.0
func (o RegionalSecretArrayOutput) Index(i pulumi.IntInput) RegionalSecretOutput
func (RegionalSecretArrayOutput) ToRegionalSecretArrayOutput ¶ added in v8.3.0
func (o RegionalSecretArrayOutput) ToRegionalSecretArrayOutput() RegionalSecretArrayOutput
func (RegionalSecretArrayOutput) ToRegionalSecretArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretArrayOutput) ToRegionalSecretArrayOutputWithContext(ctx context.Context) RegionalSecretArrayOutput
type RegionalSecretCustomerManagedEncryption ¶ added in v8.3.0
type RegionalSecretCustomerManagedEncryption struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyName string `pulumi:"kmsKeyName"` }
type RegionalSecretCustomerManagedEncryptionArgs ¶ added in v8.3.0
type RegionalSecretCustomerManagedEncryptionArgs struct { // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (RegionalSecretCustomerManagedEncryptionArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionOutput() RegionalSecretCustomerManagedEncryptionOutput
func (RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionOutput
func (RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionPtrOutput ¶ added in v8.3.0
func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput
func (RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretCustomerManagedEncryptionArgs) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput
type RegionalSecretCustomerManagedEncryptionInput ¶ added in v8.3.0
type RegionalSecretCustomerManagedEncryptionInput interface { pulumi.Input ToRegionalSecretCustomerManagedEncryptionOutput() RegionalSecretCustomerManagedEncryptionOutput ToRegionalSecretCustomerManagedEncryptionOutputWithContext(context.Context) RegionalSecretCustomerManagedEncryptionOutput }
RegionalSecretCustomerManagedEncryptionInput is an input type that accepts RegionalSecretCustomerManagedEncryptionArgs and RegionalSecretCustomerManagedEncryptionOutput values. You can construct a concrete instance of `RegionalSecretCustomerManagedEncryptionInput` via:
RegionalSecretCustomerManagedEncryptionArgs{...}
type RegionalSecretCustomerManagedEncryptionOutput ¶ added in v8.3.0
type RegionalSecretCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (RegionalSecretCustomerManagedEncryptionOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (RegionalSecretCustomerManagedEncryptionOutput) KmsKeyName ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
func (RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionOutput() RegionalSecretCustomerManagedEncryptionOutput
func (RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionOutput
func (RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutput ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput
func (RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput
type RegionalSecretCustomerManagedEncryptionPtrInput ¶ added in v8.3.0
type RegionalSecretCustomerManagedEncryptionPtrInput interface { pulumi.Input ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput }
RegionalSecretCustomerManagedEncryptionPtrInput is an input type that accepts RegionalSecretCustomerManagedEncryptionArgs, RegionalSecretCustomerManagedEncryptionPtr and RegionalSecretCustomerManagedEncryptionPtrOutput values. You can construct a concrete instance of `RegionalSecretCustomerManagedEncryptionPtrInput` via:
RegionalSecretCustomerManagedEncryptionArgs{...} or: nil
func RegionalSecretCustomerManagedEncryptionPtr ¶ added in v8.3.0
func RegionalSecretCustomerManagedEncryptionPtr(v *RegionalSecretCustomerManagedEncryptionArgs) RegionalSecretCustomerManagedEncryptionPtrInput
type RegionalSecretCustomerManagedEncryptionPtrOutput ¶ added in v8.3.0
type RegionalSecretCustomerManagedEncryptionPtrOutput struct{ *pulumi.OutputState }
func (RegionalSecretCustomerManagedEncryptionPtrOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretCustomerManagedEncryptionPtrOutput) ElementType() reflect.Type
func (RegionalSecretCustomerManagedEncryptionPtrOutput) KmsKeyName ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionPtrOutput) KmsKeyName() pulumi.StringPtrOutput
The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
func (RegionalSecretCustomerManagedEncryptionPtrOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutput ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionPtrOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutput() RegionalSecretCustomerManagedEncryptionPtrOutput
func (RegionalSecretCustomerManagedEncryptionPtrOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretCustomerManagedEncryptionPtrOutput) ToRegionalSecretCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) RegionalSecretCustomerManagedEncryptionPtrOutput
type RegionalSecretIamBinding ¶ added in v8.3.0
type RegionalSecretIamBinding struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition RegionalSecretIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` SecretId pulumi.StringOutput `pulumi:"secretId"` }
Three different resources help you manage your IAM policy for Secret Manager RegionalSecret. Each of these resources serves a different use case:
* `secretmanager.RegionalSecretIamPolicy`: Authoritative. Sets the IAM policy for the regionalsecret and replaces any existing policy already attached. * `secretmanager.RegionalSecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the regionalsecret are preserved. * `secretmanager.RegionalSecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regionalsecret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.RegionalSecretIamPolicy`: Retrieves the IAM policy for the regionalsecret
> **Note:** `secretmanager.RegionalSecretIamPolicy` **cannot** be used in conjunction with `secretmanager.RegionalSecretIamBinding` and `secretmanager.RegionalSecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.RegionalSecretIamBinding` resources **can be** used in conjunction with `secretmanager.RegionalSecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.RegionalSecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.RegionalSecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.RegionalSecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Secret Manager RegionalSecret Three different resources help you manage your IAM policy for Secret Manager RegionalSecret. Each of these resources serves a different use case:
* `secretmanager.RegionalSecretIamPolicy`: Authoritative. Sets the IAM policy for the regionalsecret and replaces any existing policy already attached. * `secretmanager.RegionalSecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the regionalsecret are preserved. * `secretmanager.RegionalSecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regionalsecret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.RegionalSecretIamPolicy`: Retrieves the IAM policy for the regionalsecret
> **Note:** `secretmanager.RegionalSecretIamPolicy` **cannot** be used in conjunction with `secretmanager.RegionalSecretIamBinding` and `secretmanager.RegionalSecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.RegionalSecretIamBinding` resources **can be** used in conjunction with `secretmanager.RegionalSecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.RegionalSecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.RegionalSecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.RegionalSecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}
* {{project}}/{{location}}/{{secret_id}}
* {{location}}/{{secret_id}}
* {{secret_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Secret Manager regionalsecret IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamBinding:RegionalSecretIamBinding editor "projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamBinding:RegionalSecretIamBinding editor "projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamBinding:RegionalSecretIamBinding editor projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetRegionalSecretIamBinding ¶ added in v8.3.0
func GetRegionalSecretIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionalSecretIamBindingState, opts ...pulumi.ResourceOption) (*RegionalSecretIamBinding, error)
GetRegionalSecretIamBinding gets an existing RegionalSecretIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegionalSecretIamBinding ¶ added in v8.3.0
func NewRegionalSecretIamBinding(ctx *pulumi.Context, name string, args *RegionalSecretIamBindingArgs, opts ...pulumi.ResourceOption) (*RegionalSecretIamBinding, error)
NewRegionalSecretIamBinding registers a new resource with the given unique name, arguments, and options.
func (*RegionalSecretIamBinding) ElementType ¶ added in v8.3.0
func (*RegionalSecretIamBinding) ElementType() reflect.Type
func (*RegionalSecretIamBinding) ToRegionalSecretIamBindingOutput ¶ added in v8.3.0
func (i *RegionalSecretIamBinding) ToRegionalSecretIamBindingOutput() RegionalSecretIamBindingOutput
func (*RegionalSecretIamBinding) ToRegionalSecretIamBindingOutputWithContext ¶ added in v8.3.0
func (i *RegionalSecretIamBinding) ToRegionalSecretIamBindingOutputWithContext(ctx context.Context) RegionalSecretIamBindingOutput
type RegionalSecretIamBindingArgs ¶ added in v8.3.0
type RegionalSecretIamBindingArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition RegionalSecretIamBindingConditionPtrInput // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput SecretId pulumi.StringInput }
The set of arguments for constructing a RegionalSecretIamBinding resource.
func (RegionalSecretIamBindingArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingArgs) ElementType() reflect.Type
type RegionalSecretIamBindingArray ¶ added in v8.3.0
type RegionalSecretIamBindingArray []RegionalSecretIamBindingInput
func (RegionalSecretIamBindingArray) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingArray) ElementType() reflect.Type
func (RegionalSecretIamBindingArray) ToRegionalSecretIamBindingArrayOutput ¶ added in v8.3.0
func (i RegionalSecretIamBindingArray) ToRegionalSecretIamBindingArrayOutput() RegionalSecretIamBindingArrayOutput
func (RegionalSecretIamBindingArray) ToRegionalSecretIamBindingArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamBindingArray) ToRegionalSecretIamBindingArrayOutputWithContext(ctx context.Context) RegionalSecretIamBindingArrayOutput
type RegionalSecretIamBindingArrayInput ¶ added in v8.3.0
type RegionalSecretIamBindingArrayInput interface { pulumi.Input ToRegionalSecretIamBindingArrayOutput() RegionalSecretIamBindingArrayOutput ToRegionalSecretIamBindingArrayOutputWithContext(context.Context) RegionalSecretIamBindingArrayOutput }
RegionalSecretIamBindingArrayInput is an input type that accepts RegionalSecretIamBindingArray and RegionalSecretIamBindingArrayOutput values. You can construct a concrete instance of `RegionalSecretIamBindingArrayInput` via:
RegionalSecretIamBindingArray{ RegionalSecretIamBindingArgs{...} }
type RegionalSecretIamBindingArrayOutput ¶ added in v8.3.0
type RegionalSecretIamBindingArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamBindingArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingArrayOutput) ElementType() reflect.Type
func (RegionalSecretIamBindingArrayOutput) Index ¶ added in v8.3.0
func (o RegionalSecretIamBindingArrayOutput) Index(i pulumi.IntInput) RegionalSecretIamBindingOutput
func (RegionalSecretIamBindingArrayOutput) ToRegionalSecretIamBindingArrayOutput ¶ added in v8.3.0
func (o RegionalSecretIamBindingArrayOutput) ToRegionalSecretIamBindingArrayOutput() RegionalSecretIamBindingArrayOutput
func (RegionalSecretIamBindingArrayOutput) ToRegionalSecretIamBindingArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamBindingArrayOutput) ToRegionalSecretIamBindingArrayOutputWithContext(ctx context.Context) RegionalSecretIamBindingArrayOutput
type RegionalSecretIamBindingCondition ¶ added in v8.3.0
type RegionalSecretIamBindingCondition struct { Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type RegionalSecretIamBindingConditionArgs ¶ added in v8.3.0
type RegionalSecretIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (RegionalSecretIamBindingConditionArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingConditionArgs) ElementType() reflect.Type
func (RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionOutput ¶ added in v8.3.0
func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionOutput() RegionalSecretIamBindingConditionOutput
func (RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionOutput
func (RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionPtrOutput ¶ added in v8.3.0
func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput
func (RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionPtrOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamBindingConditionArgs) ToRegionalSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionPtrOutput
type RegionalSecretIamBindingConditionInput ¶ added in v8.3.0
type RegionalSecretIamBindingConditionInput interface { pulumi.Input ToRegionalSecretIamBindingConditionOutput() RegionalSecretIamBindingConditionOutput ToRegionalSecretIamBindingConditionOutputWithContext(context.Context) RegionalSecretIamBindingConditionOutput }
RegionalSecretIamBindingConditionInput is an input type that accepts RegionalSecretIamBindingConditionArgs and RegionalSecretIamBindingConditionOutput values. You can construct a concrete instance of `RegionalSecretIamBindingConditionInput` via:
RegionalSecretIamBindingConditionArgs{...}
type RegionalSecretIamBindingConditionOutput ¶ added in v8.3.0
type RegionalSecretIamBindingConditionOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamBindingConditionOutput) Description ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (RegionalSecretIamBindingConditionOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingConditionOutput) ElementType() reflect.Type
func (RegionalSecretIamBindingConditionOutput) Expression ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (RegionalSecretIamBindingConditionOutput) Title ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionOutput ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionOutput() RegionalSecretIamBindingConditionOutput
func (RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionOutput
func (RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionPtrOutput ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput
func (RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionOutput) ToRegionalSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionPtrOutput
type RegionalSecretIamBindingConditionPtrInput ¶ added in v8.3.0
type RegionalSecretIamBindingConditionPtrInput interface { pulumi.Input ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput ToRegionalSecretIamBindingConditionPtrOutputWithContext(context.Context) RegionalSecretIamBindingConditionPtrOutput }
RegionalSecretIamBindingConditionPtrInput is an input type that accepts RegionalSecretIamBindingConditionArgs, RegionalSecretIamBindingConditionPtr and RegionalSecretIamBindingConditionPtrOutput values. You can construct a concrete instance of `RegionalSecretIamBindingConditionPtrInput` via:
RegionalSecretIamBindingConditionArgs{...} or: nil
func RegionalSecretIamBindingConditionPtr ¶ added in v8.3.0
func RegionalSecretIamBindingConditionPtr(v *RegionalSecretIamBindingConditionArgs) RegionalSecretIamBindingConditionPtrInput
type RegionalSecretIamBindingConditionPtrOutput ¶ added in v8.3.0
type RegionalSecretIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamBindingConditionPtrOutput) Description ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RegionalSecretIamBindingConditionPtrOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingConditionPtrOutput) ElementType() reflect.Type
func (RegionalSecretIamBindingConditionPtrOutput) Expression ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (RegionalSecretIamBindingConditionPtrOutput) Title ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (RegionalSecretIamBindingConditionPtrOutput) ToRegionalSecretIamBindingConditionPtrOutput ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionPtrOutput) ToRegionalSecretIamBindingConditionPtrOutput() RegionalSecretIamBindingConditionPtrOutput
func (RegionalSecretIamBindingConditionPtrOutput) ToRegionalSecretIamBindingConditionPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamBindingConditionPtrOutput) ToRegionalSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamBindingConditionPtrOutput
type RegionalSecretIamBindingInput ¶ added in v8.3.0
type RegionalSecretIamBindingInput interface { pulumi.Input ToRegionalSecretIamBindingOutput() RegionalSecretIamBindingOutput ToRegionalSecretIamBindingOutputWithContext(ctx context.Context) RegionalSecretIamBindingOutput }
type RegionalSecretIamBindingMap ¶ added in v8.3.0
type RegionalSecretIamBindingMap map[string]RegionalSecretIamBindingInput
func (RegionalSecretIamBindingMap) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingMap) ElementType() reflect.Type
func (RegionalSecretIamBindingMap) ToRegionalSecretIamBindingMapOutput ¶ added in v8.3.0
func (i RegionalSecretIamBindingMap) ToRegionalSecretIamBindingMapOutput() RegionalSecretIamBindingMapOutput
func (RegionalSecretIamBindingMap) ToRegionalSecretIamBindingMapOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamBindingMap) ToRegionalSecretIamBindingMapOutputWithContext(ctx context.Context) RegionalSecretIamBindingMapOutput
type RegionalSecretIamBindingMapInput ¶ added in v8.3.0
type RegionalSecretIamBindingMapInput interface { pulumi.Input ToRegionalSecretIamBindingMapOutput() RegionalSecretIamBindingMapOutput ToRegionalSecretIamBindingMapOutputWithContext(context.Context) RegionalSecretIamBindingMapOutput }
RegionalSecretIamBindingMapInput is an input type that accepts RegionalSecretIamBindingMap and RegionalSecretIamBindingMapOutput values. You can construct a concrete instance of `RegionalSecretIamBindingMapInput` via:
RegionalSecretIamBindingMap{ "key": RegionalSecretIamBindingArgs{...} }
type RegionalSecretIamBindingMapOutput ¶ added in v8.3.0
type RegionalSecretIamBindingMapOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamBindingMapOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingMapOutput) ElementType() reflect.Type
func (RegionalSecretIamBindingMapOutput) MapIndex ¶ added in v8.3.0
func (o RegionalSecretIamBindingMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretIamBindingOutput
func (RegionalSecretIamBindingMapOutput) ToRegionalSecretIamBindingMapOutput ¶ added in v8.3.0
func (o RegionalSecretIamBindingMapOutput) ToRegionalSecretIamBindingMapOutput() RegionalSecretIamBindingMapOutput
func (RegionalSecretIamBindingMapOutput) ToRegionalSecretIamBindingMapOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamBindingMapOutput) ToRegionalSecretIamBindingMapOutputWithContext(ctx context.Context) RegionalSecretIamBindingMapOutput
type RegionalSecretIamBindingOutput ¶ added in v8.3.0
type RegionalSecretIamBindingOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamBindingOutput) Condition ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) Condition() RegionalSecretIamBindingConditionPtrOutput
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.
func (RegionalSecretIamBindingOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingOutput) ElementType() reflect.Type
func (RegionalSecretIamBindingOutput) Etag ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RegionalSecretIamBindingOutput) Location ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) Location() pulumi.StringOutput
The location of the regional secret. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (RegionalSecretIamBindingOutput) Members ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (RegionalSecretIamBindingOutput) Project ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (RegionalSecretIamBindingOutput) Role ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (RegionalSecretIamBindingOutput) SecretId ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) SecretId() pulumi.StringOutput
func (RegionalSecretIamBindingOutput) ToRegionalSecretIamBindingOutput ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) ToRegionalSecretIamBindingOutput() RegionalSecretIamBindingOutput
func (RegionalSecretIamBindingOutput) ToRegionalSecretIamBindingOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamBindingOutput) ToRegionalSecretIamBindingOutputWithContext(ctx context.Context) RegionalSecretIamBindingOutput
type RegionalSecretIamBindingState ¶ added in v8.3.0
type RegionalSecretIamBindingState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition RegionalSecretIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput SecretId pulumi.StringPtrInput }
func (RegionalSecretIamBindingState) ElementType ¶ added in v8.3.0
func (RegionalSecretIamBindingState) ElementType() reflect.Type
type RegionalSecretIamMember ¶ added in v8.3.0
type RegionalSecretIamMember struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition RegionalSecretIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` SecretId pulumi.StringOutput `pulumi:"secretId"` }
Three different resources help you manage your IAM policy for Secret Manager RegionalSecret. Each of these resources serves a different use case:
* `secretmanager.RegionalSecretIamPolicy`: Authoritative. Sets the IAM policy for the regionalsecret and replaces any existing policy already attached. * `secretmanager.RegionalSecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the regionalsecret are preserved. * `secretmanager.RegionalSecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regionalsecret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.RegionalSecretIamPolicy`: Retrieves the IAM policy for the regionalsecret
> **Note:** `secretmanager.RegionalSecretIamPolicy` **cannot** be used in conjunction with `secretmanager.RegionalSecretIamBinding` and `secretmanager.RegionalSecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.RegionalSecretIamBinding` resources **can be** used in conjunction with `secretmanager.RegionalSecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.RegionalSecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.RegionalSecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.RegionalSecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Secret Manager RegionalSecret Three different resources help you manage your IAM policy for Secret Manager RegionalSecret. Each of these resources serves a different use case:
* `secretmanager.RegionalSecretIamPolicy`: Authoritative. Sets the IAM policy for the regionalsecret and replaces any existing policy already attached. * `secretmanager.RegionalSecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the regionalsecret are preserved. * `secretmanager.RegionalSecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regionalsecret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.RegionalSecretIamPolicy`: Retrieves the IAM policy for the regionalsecret
> **Note:** `secretmanager.RegionalSecretIamPolicy` **cannot** be used in conjunction with `secretmanager.RegionalSecretIamBinding` and `secretmanager.RegionalSecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.RegionalSecretIamBinding` resources **can be** used in conjunction with `secretmanager.RegionalSecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.RegionalSecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.RegionalSecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.RegionalSecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}
* {{project}}/{{location}}/{{secret_id}}
* {{location}}/{{secret_id}}
* {{secret_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Secret Manager regionalsecret IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamMember:RegionalSecretIamMember editor "projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamMember:RegionalSecretIamMember editor "projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamMember:RegionalSecretIamMember editor projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetRegionalSecretIamMember ¶ added in v8.3.0
func GetRegionalSecretIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionalSecretIamMemberState, opts ...pulumi.ResourceOption) (*RegionalSecretIamMember, error)
GetRegionalSecretIamMember gets an existing RegionalSecretIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegionalSecretIamMember ¶ added in v8.3.0
func NewRegionalSecretIamMember(ctx *pulumi.Context, name string, args *RegionalSecretIamMemberArgs, opts ...pulumi.ResourceOption) (*RegionalSecretIamMember, error)
NewRegionalSecretIamMember registers a new resource with the given unique name, arguments, and options.
func (*RegionalSecretIamMember) ElementType ¶ added in v8.3.0
func (*RegionalSecretIamMember) ElementType() reflect.Type
func (*RegionalSecretIamMember) ToRegionalSecretIamMemberOutput ¶ added in v8.3.0
func (i *RegionalSecretIamMember) ToRegionalSecretIamMemberOutput() RegionalSecretIamMemberOutput
func (*RegionalSecretIamMember) ToRegionalSecretIamMemberOutputWithContext ¶ added in v8.3.0
func (i *RegionalSecretIamMember) ToRegionalSecretIamMemberOutputWithContext(ctx context.Context) RegionalSecretIamMemberOutput
type RegionalSecretIamMemberArgs ¶ added in v8.3.0
type RegionalSecretIamMemberArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition RegionalSecretIamMemberConditionPtrInput // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput SecretId pulumi.StringInput }
The set of arguments for constructing a RegionalSecretIamMember resource.
func (RegionalSecretIamMemberArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberArgs) ElementType() reflect.Type
type RegionalSecretIamMemberArray ¶ added in v8.3.0
type RegionalSecretIamMemberArray []RegionalSecretIamMemberInput
func (RegionalSecretIamMemberArray) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberArray) ElementType() reflect.Type
func (RegionalSecretIamMemberArray) ToRegionalSecretIamMemberArrayOutput ¶ added in v8.3.0
func (i RegionalSecretIamMemberArray) ToRegionalSecretIamMemberArrayOutput() RegionalSecretIamMemberArrayOutput
func (RegionalSecretIamMemberArray) ToRegionalSecretIamMemberArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamMemberArray) ToRegionalSecretIamMemberArrayOutputWithContext(ctx context.Context) RegionalSecretIamMemberArrayOutput
type RegionalSecretIamMemberArrayInput ¶ added in v8.3.0
type RegionalSecretIamMemberArrayInput interface { pulumi.Input ToRegionalSecretIamMemberArrayOutput() RegionalSecretIamMemberArrayOutput ToRegionalSecretIamMemberArrayOutputWithContext(context.Context) RegionalSecretIamMemberArrayOutput }
RegionalSecretIamMemberArrayInput is an input type that accepts RegionalSecretIamMemberArray and RegionalSecretIamMemberArrayOutput values. You can construct a concrete instance of `RegionalSecretIamMemberArrayInput` via:
RegionalSecretIamMemberArray{ RegionalSecretIamMemberArgs{...} }
type RegionalSecretIamMemberArrayOutput ¶ added in v8.3.0
type RegionalSecretIamMemberArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamMemberArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberArrayOutput) ElementType() reflect.Type
func (RegionalSecretIamMemberArrayOutput) Index ¶ added in v8.3.0
func (o RegionalSecretIamMemberArrayOutput) Index(i pulumi.IntInput) RegionalSecretIamMemberOutput
func (RegionalSecretIamMemberArrayOutput) ToRegionalSecretIamMemberArrayOutput ¶ added in v8.3.0
func (o RegionalSecretIamMemberArrayOutput) ToRegionalSecretIamMemberArrayOutput() RegionalSecretIamMemberArrayOutput
func (RegionalSecretIamMemberArrayOutput) ToRegionalSecretIamMemberArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamMemberArrayOutput) ToRegionalSecretIamMemberArrayOutputWithContext(ctx context.Context) RegionalSecretIamMemberArrayOutput
type RegionalSecretIamMemberCondition ¶ added in v8.3.0
type RegionalSecretIamMemberCondition struct { Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type RegionalSecretIamMemberConditionArgs ¶ added in v8.3.0
type RegionalSecretIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (RegionalSecretIamMemberConditionArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberConditionArgs) ElementType() reflect.Type
func (RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionOutput ¶ added in v8.3.0
func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionOutput() RegionalSecretIamMemberConditionOutput
func (RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionOutput
func (RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionPtrOutput ¶ added in v8.3.0
func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput
func (RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionPtrOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamMemberConditionArgs) ToRegionalSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionPtrOutput
type RegionalSecretIamMemberConditionInput ¶ added in v8.3.0
type RegionalSecretIamMemberConditionInput interface { pulumi.Input ToRegionalSecretIamMemberConditionOutput() RegionalSecretIamMemberConditionOutput ToRegionalSecretIamMemberConditionOutputWithContext(context.Context) RegionalSecretIamMemberConditionOutput }
RegionalSecretIamMemberConditionInput is an input type that accepts RegionalSecretIamMemberConditionArgs and RegionalSecretIamMemberConditionOutput values. You can construct a concrete instance of `RegionalSecretIamMemberConditionInput` via:
RegionalSecretIamMemberConditionArgs{...}
type RegionalSecretIamMemberConditionOutput ¶ added in v8.3.0
type RegionalSecretIamMemberConditionOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamMemberConditionOutput) Description ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (RegionalSecretIamMemberConditionOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberConditionOutput) ElementType() reflect.Type
func (RegionalSecretIamMemberConditionOutput) Expression ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (RegionalSecretIamMemberConditionOutput) Title ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionOutput ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionOutput() RegionalSecretIamMemberConditionOutput
func (RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionOutput
func (RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionPtrOutput ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput
func (RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionOutput) ToRegionalSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionPtrOutput
type RegionalSecretIamMemberConditionPtrInput ¶ added in v8.3.0
type RegionalSecretIamMemberConditionPtrInput interface { pulumi.Input ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput ToRegionalSecretIamMemberConditionPtrOutputWithContext(context.Context) RegionalSecretIamMemberConditionPtrOutput }
RegionalSecretIamMemberConditionPtrInput is an input type that accepts RegionalSecretIamMemberConditionArgs, RegionalSecretIamMemberConditionPtr and RegionalSecretIamMemberConditionPtrOutput values. You can construct a concrete instance of `RegionalSecretIamMemberConditionPtrInput` via:
RegionalSecretIamMemberConditionArgs{...} or: nil
func RegionalSecretIamMemberConditionPtr ¶ added in v8.3.0
func RegionalSecretIamMemberConditionPtr(v *RegionalSecretIamMemberConditionArgs) RegionalSecretIamMemberConditionPtrInput
type RegionalSecretIamMemberConditionPtrOutput ¶ added in v8.3.0
type RegionalSecretIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamMemberConditionPtrOutput) Description ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RegionalSecretIamMemberConditionPtrOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberConditionPtrOutput) ElementType() reflect.Type
func (RegionalSecretIamMemberConditionPtrOutput) Expression ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (RegionalSecretIamMemberConditionPtrOutput) Title ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (RegionalSecretIamMemberConditionPtrOutput) ToRegionalSecretIamMemberConditionPtrOutput ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionPtrOutput) ToRegionalSecretIamMemberConditionPtrOutput() RegionalSecretIamMemberConditionPtrOutput
func (RegionalSecretIamMemberConditionPtrOutput) ToRegionalSecretIamMemberConditionPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamMemberConditionPtrOutput) ToRegionalSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) RegionalSecretIamMemberConditionPtrOutput
type RegionalSecretIamMemberInput ¶ added in v8.3.0
type RegionalSecretIamMemberInput interface { pulumi.Input ToRegionalSecretIamMemberOutput() RegionalSecretIamMemberOutput ToRegionalSecretIamMemberOutputWithContext(ctx context.Context) RegionalSecretIamMemberOutput }
type RegionalSecretIamMemberMap ¶ added in v8.3.0
type RegionalSecretIamMemberMap map[string]RegionalSecretIamMemberInput
func (RegionalSecretIamMemberMap) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberMap) ElementType() reflect.Type
func (RegionalSecretIamMemberMap) ToRegionalSecretIamMemberMapOutput ¶ added in v8.3.0
func (i RegionalSecretIamMemberMap) ToRegionalSecretIamMemberMapOutput() RegionalSecretIamMemberMapOutput
func (RegionalSecretIamMemberMap) ToRegionalSecretIamMemberMapOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamMemberMap) ToRegionalSecretIamMemberMapOutputWithContext(ctx context.Context) RegionalSecretIamMemberMapOutput
type RegionalSecretIamMemberMapInput ¶ added in v8.3.0
type RegionalSecretIamMemberMapInput interface { pulumi.Input ToRegionalSecretIamMemberMapOutput() RegionalSecretIamMemberMapOutput ToRegionalSecretIamMemberMapOutputWithContext(context.Context) RegionalSecretIamMemberMapOutput }
RegionalSecretIamMemberMapInput is an input type that accepts RegionalSecretIamMemberMap and RegionalSecretIamMemberMapOutput values. You can construct a concrete instance of `RegionalSecretIamMemberMapInput` via:
RegionalSecretIamMemberMap{ "key": RegionalSecretIamMemberArgs{...} }
type RegionalSecretIamMemberMapOutput ¶ added in v8.3.0
type RegionalSecretIamMemberMapOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamMemberMapOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberMapOutput) ElementType() reflect.Type
func (RegionalSecretIamMemberMapOutput) MapIndex ¶ added in v8.3.0
func (o RegionalSecretIamMemberMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretIamMemberOutput
func (RegionalSecretIamMemberMapOutput) ToRegionalSecretIamMemberMapOutput ¶ added in v8.3.0
func (o RegionalSecretIamMemberMapOutput) ToRegionalSecretIamMemberMapOutput() RegionalSecretIamMemberMapOutput
func (RegionalSecretIamMemberMapOutput) ToRegionalSecretIamMemberMapOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamMemberMapOutput) ToRegionalSecretIamMemberMapOutputWithContext(ctx context.Context) RegionalSecretIamMemberMapOutput
type RegionalSecretIamMemberOutput ¶ added in v8.3.0
type RegionalSecretIamMemberOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamMemberOutput) Condition ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) Condition() RegionalSecretIamMemberConditionPtrOutput
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.
func (RegionalSecretIamMemberOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberOutput) ElementType() reflect.Type
func (RegionalSecretIamMemberOutput) Etag ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RegionalSecretIamMemberOutput) Location ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) Location() pulumi.StringOutput
The location of the regional secret. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (RegionalSecretIamMemberOutput) Member ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (RegionalSecretIamMemberOutput) Project ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (RegionalSecretIamMemberOutput) Role ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (RegionalSecretIamMemberOutput) SecretId ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) SecretId() pulumi.StringOutput
func (RegionalSecretIamMemberOutput) ToRegionalSecretIamMemberOutput ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) ToRegionalSecretIamMemberOutput() RegionalSecretIamMemberOutput
func (RegionalSecretIamMemberOutput) ToRegionalSecretIamMemberOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamMemberOutput) ToRegionalSecretIamMemberOutputWithContext(ctx context.Context) RegionalSecretIamMemberOutput
type RegionalSecretIamMemberState ¶ added in v8.3.0
type RegionalSecretIamMemberState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition RegionalSecretIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.RegionalSecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput SecretId pulumi.StringPtrInput }
func (RegionalSecretIamMemberState) ElementType ¶ added in v8.3.0
func (RegionalSecretIamMemberState) ElementType() reflect.Type
type RegionalSecretIamPolicy ¶ added in v8.3.0
type RegionalSecretIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` SecretId pulumi.StringOutput `pulumi:"secretId"` }
Three different resources help you manage your IAM policy for Secret Manager RegionalSecret. Each of these resources serves a different use case:
* `secretmanager.RegionalSecretIamPolicy`: Authoritative. Sets the IAM policy for the regionalsecret and replaces any existing policy already attached. * `secretmanager.RegionalSecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the regionalsecret are preserved. * `secretmanager.RegionalSecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regionalsecret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.RegionalSecretIamPolicy`: Retrieves the IAM policy for the regionalsecret
> **Note:** `secretmanager.RegionalSecretIamPolicy` **cannot** be used in conjunction with `secretmanager.RegionalSecretIamBinding` and `secretmanager.RegionalSecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.RegionalSecretIamBinding` resources **can be** used in conjunction with `secretmanager.RegionalSecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.RegionalSecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.RegionalSecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.RegionalSecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Secret Manager RegionalSecret Three different resources help you manage your IAM policy for Secret Manager RegionalSecret. Each of these resources serves a different use case:
* `secretmanager.RegionalSecretIamPolicy`: Authoritative. Sets the IAM policy for the regionalsecret and replaces any existing policy already attached. * `secretmanager.RegionalSecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the regionalsecret are preserved. * `secretmanager.RegionalSecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the regionalsecret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.RegionalSecretIamPolicy`: Retrieves the IAM policy for the regionalsecret
> **Note:** `secretmanager.RegionalSecretIamPolicy` **cannot** be used in conjunction with `secretmanager.RegionalSecretIamBinding` and `secretmanager.RegionalSecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.RegionalSecretIamBinding` resources **can be** used in conjunction with `secretmanager.RegionalSecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.RegionalSecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretIamPolicy(ctx, "policy", &secretmanager.RegionalSecretIamPolicyArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamBinding(ctx, "binding", &secretmanager.RegionalSecretIamBindingArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.RegionalSecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.RegionalSecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecretIamMember(ctx, "member", &secretmanager.RegionalSecretIamMemberArgs{ Project: pulumi.Any(regional_secret_basic.Project), Location: pulumi.Any(regional_secret_basic.Location), SecretId: pulumi.Any(regional_secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.RegionalSecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}
* {{project}}/{{location}}/{{secret_id}}
* {{location}}/{{secret_id}}
* {{secret_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Secret Manager regionalsecret IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamPolicy:RegionalSecretIamPolicy editor "projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamPolicy:RegionalSecretIamPolicy editor "projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:secretmanager/regionalSecretIamPolicy:RegionalSecretIamPolicy editor projects/{{project}}/locations/{{location}}/secrets/{{secret_id}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetRegionalSecretIamPolicy ¶ added in v8.3.0
func GetRegionalSecretIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionalSecretIamPolicyState, opts ...pulumi.ResourceOption) (*RegionalSecretIamPolicy, error)
GetRegionalSecretIamPolicy gets an existing RegionalSecretIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegionalSecretIamPolicy ¶ added in v8.3.0
func NewRegionalSecretIamPolicy(ctx *pulumi.Context, name string, args *RegionalSecretIamPolicyArgs, opts ...pulumi.ResourceOption) (*RegionalSecretIamPolicy, error)
NewRegionalSecretIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*RegionalSecretIamPolicy) ElementType ¶ added in v8.3.0
func (*RegionalSecretIamPolicy) ElementType() reflect.Type
func (*RegionalSecretIamPolicy) ToRegionalSecretIamPolicyOutput ¶ added in v8.3.0
func (i *RegionalSecretIamPolicy) ToRegionalSecretIamPolicyOutput() RegionalSecretIamPolicyOutput
func (*RegionalSecretIamPolicy) ToRegionalSecretIamPolicyOutputWithContext ¶ added in v8.3.0
func (i *RegionalSecretIamPolicy) ToRegionalSecretIamPolicyOutputWithContext(ctx context.Context) RegionalSecretIamPolicyOutput
type RegionalSecretIamPolicyArgs ¶ added in v8.3.0
type RegionalSecretIamPolicyArgs struct { // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput SecretId pulumi.StringInput }
The set of arguments for constructing a RegionalSecretIamPolicy resource.
func (RegionalSecretIamPolicyArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyArgs) ElementType() reflect.Type
type RegionalSecretIamPolicyArray ¶ added in v8.3.0
type RegionalSecretIamPolicyArray []RegionalSecretIamPolicyInput
func (RegionalSecretIamPolicyArray) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyArray) ElementType() reflect.Type
func (RegionalSecretIamPolicyArray) ToRegionalSecretIamPolicyArrayOutput ¶ added in v8.3.0
func (i RegionalSecretIamPolicyArray) ToRegionalSecretIamPolicyArrayOutput() RegionalSecretIamPolicyArrayOutput
func (RegionalSecretIamPolicyArray) ToRegionalSecretIamPolicyArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamPolicyArray) ToRegionalSecretIamPolicyArrayOutputWithContext(ctx context.Context) RegionalSecretIamPolicyArrayOutput
type RegionalSecretIamPolicyArrayInput ¶ added in v8.3.0
type RegionalSecretIamPolicyArrayInput interface { pulumi.Input ToRegionalSecretIamPolicyArrayOutput() RegionalSecretIamPolicyArrayOutput ToRegionalSecretIamPolicyArrayOutputWithContext(context.Context) RegionalSecretIamPolicyArrayOutput }
RegionalSecretIamPolicyArrayInput is an input type that accepts RegionalSecretIamPolicyArray and RegionalSecretIamPolicyArrayOutput values. You can construct a concrete instance of `RegionalSecretIamPolicyArrayInput` via:
RegionalSecretIamPolicyArray{ RegionalSecretIamPolicyArgs{...} }
type RegionalSecretIamPolicyArrayOutput ¶ added in v8.3.0
type RegionalSecretIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamPolicyArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyArrayOutput) ElementType() reflect.Type
func (RegionalSecretIamPolicyArrayOutput) Index ¶ added in v8.3.0
func (o RegionalSecretIamPolicyArrayOutput) Index(i pulumi.IntInput) RegionalSecretIamPolicyOutput
func (RegionalSecretIamPolicyArrayOutput) ToRegionalSecretIamPolicyArrayOutput ¶ added in v8.3.0
func (o RegionalSecretIamPolicyArrayOutput) ToRegionalSecretIamPolicyArrayOutput() RegionalSecretIamPolicyArrayOutput
func (RegionalSecretIamPolicyArrayOutput) ToRegionalSecretIamPolicyArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamPolicyArrayOutput) ToRegionalSecretIamPolicyArrayOutputWithContext(ctx context.Context) RegionalSecretIamPolicyArrayOutput
type RegionalSecretIamPolicyInput ¶ added in v8.3.0
type RegionalSecretIamPolicyInput interface { pulumi.Input ToRegionalSecretIamPolicyOutput() RegionalSecretIamPolicyOutput ToRegionalSecretIamPolicyOutputWithContext(ctx context.Context) RegionalSecretIamPolicyOutput }
type RegionalSecretIamPolicyMap ¶ added in v8.3.0
type RegionalSecretIamPolicyMap map[string]RegionalSecretIamPolicyInput
func (RegionalSecretIamPolicyMap) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyMap) ElementType() reflect.Type
func (RegionalSecretIamPolicyMap) ToRegionalSecretIamPolicyMapOutput ¶ added in v8.3.0
func (i RegionalSecretIamPolicyMap) ToRegionalSecretIamPolicyMapOutput() RegionalSecretIamPolicyMapOutput
func (RegionalSecretIamPolicyMap) ToRegionalSecretIamPolicyMapOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretIamPolicyMap) ToRegionalSecretIamPolicyMapOutputWithContext(ctx context.Context) RegionalSecretIamPolicyMapOutput
type RegionalSecretIamPolicyMapInput ¶ added in v8.3.0
type RegionalSecretIamPolicyMapInput interface { pulumi.Input ToRegionalSecretIamPolicyMapOutput() RegionalSecretIamPolicyMapOutput ToRegionalSecretIamPolicyMapOutputWithContext(context.Context) RegionalSecretIamPolicyMapOutput }
RegionalSecretIamPolicyMapInput is an input type that accepts RegionalSecretIamPolicyMap and RegionalSecretIamPolicyMapOutput values. You can construct a concrete instance of `RegionalSecretIamPolicyMapInput` via:
RegionalSecretIamPolicyMap{ "key": RegionalSecretIamPolicyArgs{...} }
type RegionalSecretIamPolicyMapOutput ¶ added in v8.3.0
type RegionalSecretIamPolicyMapOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamPolicyMapOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyMapOutput) ElementType() reflect.Type
func (RegionalSecretIamPolicyMapOutput) MapIndex ¶ added in v8.3.0
func (o RegionalSecretIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretIamPolicyOutput
func (RegionalSecretIamPolicyMapOutput) ToRegionalSecretIamPolicyMapOutput ¶ added in v8.3.0
func (o RegionalSecretIamPolicyMapOutput) ToRegionalSecretIamPolicyMapOutput() RegionalSecretIamPolicyMapOutput
func (RegionalSecretIamPolicyMapOutput) ToRegionalSecretIamPolicyMapOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamPolicyMapOutput) ToRegionalSecretIamPolicyMapOutputWithContext(ctx context.Context) RegionalSecretIamPolicyMapOutput
type RegionalSecretIamPolicyOutput ¶ added in v8.3.0
type RegionalSecretIamPolicyOutput struct{ *pulumi.OutputState }
func (RegionalSecretIamPolicyOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyOutput) ElementType() reflect.Type
func (RegionalSecretIamPolicyOutput) Etag ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RegionalSecretIamPolicyOutput) Location ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) Location() pulumi.StringOutput
The location of the regional secret. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (RegionalSecretIamPolicyOutput) PolicyData ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (RegionalSecretIamPolicyOutput) Project ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (RegionalSecretIamPolicyOutput) SecretId ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) SecretId() pulumi.StringOutput
func (RegionalSecretIamPolicyOutput) ToRegionalSecretIamPolicyOutput ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) ToRegionalSecretIamPolicyOutput() RegionalSecretIamPolicyOutput
func (RegionalSecretIamPolicyOutput) ToRegionalSecretIamPolicyOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretIamPolicyOutput) ToRegionalSecretIamPolicyOutputWithContext(ctx context.Context) RegionalSecretIamPolicyOutput
type RegionalSecretIamPolicyState ¶ added in v8.3.0
type RegionalSecretIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location of the regional secret. eg us-central1 // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput SecretId pulumi.StringPtrInput }
func (RegionalSecretIamPolicyState) ElementType ¶ added in v8.3.0
func (RegionalSecretIamPolicyState) ElementType() reflect.Type
type RegionalSecretInput ¶ added in v8.3.0
type RegionalSecretInput interface { pulumi.Input ToRegionalSecretOutput() RegionalSecretOutput ToRegionalSecretOutputWithContext(ctx context.Context) RegionalSecretOutput }
type RegionalSecretMap ¶ added in v8.3.0
type RegionalSecretMap map[string]RegionalSecretInput
func (RegionalSecretMap) ElementType ¶ added in v8.3.0
func (RegionalSecretMap) ElementType() reflect.Type
func (RegionalSecretMap) ToRegionalSecretMapOutput ¶ added in v8.3.0
func (i RegionalSecretMap) ToRegionalSecretMapOutput() RegionalSecretMapOutput
func (RegionalSecretMap) ToRegionalSecretMapOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretMap) ToRegionalSecretMapOutputWithContext(ctx context.Context) RegionalSecretMapOutput
type RegionalSecretMapInput ¶ added in v8.3.0
type RegionalSecretMapInput interface { pulumi.Input ToRegionalSecretMapOutput() RegionalSecretMapOutput ToRegionalSecretMapOutputWithContext(context.Context) RegionalSecretMapOutput }
RegionalSecretMapInput is an input type that accepts RegionalSecretMap and RegionalSecretMapOutput values. You can construct a concrete instance of `RegionalSecretMapInput` via:
RegionalSecretMap{ "key": RegionalSecretArgs{...} }
type RegionalSecretMapOutput ¶ added in v8.3.0
type RegionalSecretMapOutput struct{ *pulumi.OutputState }
func (RegionalSecretMapOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretMapOutput) ElementType() reflect.Type
func (RegionalSecretMapOutput) MapIndex ¶ added in v8.3.0
func (o RegionalSecretMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretOutput
func (RegionalSecretMapOutput) ToRegionalSecretMapOutput ¶ added in v8.3.0
func (o RegionalSecretMapOutput) ToRegionalSecretMapOutput() RegionalSecretMapOutput
func (RegionalSecretMapOutput) ToRegionalSecretMapOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretMapOutput) ToRegionalSecretMapOutputWithContext(ctx context.Context) RegionalSecretMapOutput
type RegionalSecretOutput ¶ added in v8.3.0
type RegionalSecretOutput struct{ *pulumi.OutputState }
func (RegionalSecretOutput) Annotations ¶ added in v8.3.0
func (o RegionalSecretOutput) Annotations() pulumi.StringMapOutput
Custom metadata about the regional secret. Annotations are distinct from various forms of labels. Annotations exist to allow client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
func (RegionalSecretOutput) CreateTime ¶ added in v8.3.0
func (o RegionalSecretOutput) CreateTime() pulumi.StringOutput
The time at which the regional secret was created.
func (RegionalSecretOutput) CustomerManagedEncryption ¶ added in v8.3.0
func (o RegionalSecretOutput) CustomerManagedEncryption() RegionalSecretCustomerManagedEncryptionPtrOutput
The customer-managed encryption configuration of the regional secret. Structure is documented below.
func (RegionalSecretOutput) EffectiveAnnotations ¶ added in v8.3.0
func (o RegionalSecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (RegionalSecretOutput) EffectiveLabels ¶ added in v8.3.0
func (o RegionalSecretOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (RegionalSecretOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretOutput) ElementType() reflect.Type
func (RegionalSecretOutput) ExpireTime ¶ added in v8.3.0
func (o RegionalSecretOutput) ExpireTime() pulumi.StringOutput
Timestamp in UTC when the regional secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of `expireTime` or `ttl` can be provided.
func (RegionalSecretOutput) Labels ¶ added in v8.3.0
func (o RegionalSecretOutput) Labels() pulumi.StringMapOutput
The labels assigned to this regional secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (RegionalSecretOutput) Location ¶ added in v8.3.0
func (o RegionalSecretOutput) Location() pulumi.StringOutput
The location of the regional secret. eg us-central1
func (RegionalSecretOutput) Name ¶ added in v8.3.0
func (o RegionalSecretOutput) Name() pulumi.StringOutput
The resource name of the regional secret. Format: `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}`
func (RegionalSecretOutput) Project ¶ added in v8.3.0
func (o RegionalSecretOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RegionalSecretOutput) PulumiLabels ¶ added in v8.3.0
func (o RegionalSecretOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (RegionalSecretOutput) Rotation ¶ added in v8.3.0
func (o RegionalSecretOutput) Rotation() RegionalSecretRotationPtrOutput
The rotation time and period for a regional secret. At `nextRotationTime`, Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. `topics` must be set to configure rotation. Structure is documented below.
func (RegionalSecretOutput) SecretId ¶ added in v8.3.0
func (o RegionalSecretOutput) SecretId() pulumi.StringOutput
This must be unique within the project.
***
func (RegionalSecretOutput) ToRegionalSecretOutput ¶ added in v8.3.0
func (o RegionalSecretOutput) ToRegionalSecretOutput() RegionalSecretOutput
func (RegionalSecretOutput) ToRegionalSecretOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretOutput) ToRegionalSecretOutputWithContext(ctx context.Context) RegionalSecretOutput
func (RegionalSecretOutput) Topics ¶ added in v8.3.0
func (o RegionalSecretOutput) Topics() RegionalSecretTopicArrayOutput
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions. Structure is documented below.
func (RegionalSecretOutput) Ttl ¶ added in v8.3.0
func (o RegionalSecretOutput) Ttl() pulumi.StringPtrOutput
The TTL for the regional secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Only one of `ttl` or `expireTime` can be provided.
func (RegionalSecretOutput) VersionAliases ¶ added in v8.3.0
func (o RegionalSecretOutput) VersionAliases() pulumi.StringMapOutput
Mapping from version alias to version name. A version alias is a string with a maximum length of 63 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
func (RegionalSecretOutput) VersionDestroyTtl ¶ added in v8.3.0
func (o RegionalSecretOutput) VersionDestroyTtl() pulumi.StringPtrOutput
Secret Version TTL after destruction request. This is a part of the delayed delete feature on Secret Version. For secret with versionDestroyTtl>0, version destruction doesn't happen immediately on calling destroy instead the version goes to a disabled state and the actual destruction happens after this TTL expires. It must be atleast 24h.
type RegionalSecretRotation ¶ added in v8.3.0
type RegionalSecretRotation struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime *string `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) // and at most 3153600000s (100 years). If rotationPeriod is set, `nextRotationTime` must // be set. `nextRotationTime` will be advanced by this period when the service // automatically sends rotation notifications. RotationPeriod *string `pulumi:"rotationPeriod"` }
type RegionalSecretRotationArgs ¶ added in v8.3.0
type RegionalSecretRotationArgs struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine // fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime pulumi.StringPtrInput `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) // and at most 3153600000s (100 years). If rotationPeriod is set, `nextRotationTime` must // be set. `nextRotationTime` will be advanced by this period when the service // automatically sends rotation notifications. RotationPeriod pulumi.StringPtrInput `pulumi:"rotationPeriod"` }
func (RegionalSecretRotationArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretRotationArgs) ElementType() reflect.Type
func (RegionalSecretRotationArgs) ToRegionalSecretRotationOutput ¶ added in v8.3.0
func (i RegionalSecretRotationArgs) ToRegionalSecretRotationOutput() RegionalSecretRotationOutput
func (RegionalSecretRotationArgs) ToRegionalSecretRotationOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretRotationArgs) ToRegionalSecretRotationOutputWithContext(ctx context.Context) RegionalSecretRotationOutput
func (RegionalSecretRotationArgs) ToRegionalSecretRotationPtrOutput ¶ added in v8.3.0
func (i RegionalSecretRotationArgs) ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput
func (RegionalSecretRotationArgs) ToRegionalSecretRotationPtrOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretRotationArgs) ToRegionalSecretRotationPtrOutputWithContext(ctx context.Context) RegionalSecretRotationPtrOutput
type RegionalSecretRotationInput ¶ added in v8.3.0
type RegionalSecretRotationInput interface { pulumi.Input ToRegionalSecretRotationOutput() RegionalSecretRotationOutput ToRegionalSecretRotationOutputWithContext(context.Context) RegionalSecretRotationOutput }
RegionalSecretRotationInput is an input type that accepts RegionalSecretRotationArgs and RegionalSecretRotationOutput values. You can construct a concrete instance of `RegionalSecretRotationInput` via:
RegionalSecretRotationArgs{...}
type RegionalSecretRotationOutput ¶ added in v8.3.0
type RegionalSecretRotationOutput struct{ *pulumi.OutputState }
func (RegionalSecretRotationOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretRotationOutput) ElementType() reflect.Type
func (RegionalSecretRotationOutput) NextRotationTime ¶ added in v8.3.0
func (o RegionalSecretRotationOutput) NextRotationTime() pulumi.StringPtrOutput
Timestamp in UTC at which the Secret is scheduled to rotate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (RegionalSecretRotationOutput) RotationPeriod ¶ added in v8.3.0
func (o RegionalSecretRotationOutput) RotationPeriod() pulumi.StringPtrOutput
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotationPeriod is set, `nextRotationTime` must be set. `nextRotationTime` will be advanced by this period when the service automatically sends rotation notifications.
func (RegionalSecretRotationOutput) ToRegionalSecretRotationOutput ¶ added in v8.3.0
func (o RegionalSecretRotationOutput) ToRegionalSecretRotationOutput() RegionalSecretRotationOutput
func (RegionalSecretRotationOutput) ToRegionalSecretRotationOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretRotationOutput) ToRegionalSecretRotationOutputWithContext(ctx context.Context) RegionalSecretRotationOutput
func (RegionalSecretRotationOutput) ToRegionalSecretRotationPtrOutput ¶ added in v8.3.0
func (o RegionalSecretRotationOutput) ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput
func (RegionalSecretRotationOutput) ToRegionalSecretRotationPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretRotationOutput) ToRegionalSecretRotationPtrOutputWithContext(ctx context.Context) RegionalSecretRotationPtrOutput
type RegionalSecretRotationPtrInput ¶ added in v8.3.0
type RegionalSecretRotationPtrInput interface { pulumi.Input ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput ToRegionalSecretRotationPtrOutputWithContext(context.Context) RegionalSecretRotationPtrOutput }
RegionalSecretRotationPtrInput is an input type that accepts RegionalSecretRotationArgs, RegionalSecretRotationPtr and RegionalSecretRotationPtrOutput values. You can construct a concrete instance of `RegionalSecretRotationPtrInput` via:
RegionalSecretRotationArgs{...} or: nil
func RegionalSecretRotationPtr ¶ added in v8.3.0
func RegionalSecretRotationPtr(v *RegionalSecretRotationArgs) RegionalSecretRotationPtrInput
type RegionalSecretRotationPtrOutput ¶ added in v8.3.0
type RegionalSecretRotationPtrOutput struct{ *pulumi.OutputState }
func (RegionalSecretRotationPtrOutput) Elem ¶ added in v8.3.0
func (o RegionalSecretRotationPtrOutput) Elem() RegionalSecretRotationOutput
func (RegionalSecretRotationPtrOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretRotationPtrOutput) ElementType() reflect.Type
func (RegionalSecretRotationPtrOutput) NextRotationTime ¶ added in v8.3.0
func (o RegionalSecretRotationPtrOutput) NextRotationTime() pulumi.StringPtrOutput
Timestamp in UTC at which the Secret is scheduled to rotate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (RegionalSecretRotationPtrOutput) RotationPeriod ¶ added in v8.3.0
func (o RegionalSecretRotationPtrOutput) RotationPeriod() pulumi.StringPtrOutput
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotationPeriod is set, `nextRotationTime` must be set. `nextRotationTime` will be advanced by this period when the service automatically sends rotation notifications.
func (RegionalSecretRotationPtrOutput) ToRegionalSecretRotationPtrOutput ¶ added in v8.3.0
func (o RegionalSecretRotationPtrOutput) ToRegionalSecretRotationPtrOutput() RegionalSecretRotationPtrOutput
func (RegionalSecretRotationPtrOutput) ToRegionalSecretRotationPtrOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretRotationPtrOutput) ToRegionalSecretRotationPtrOutputWithContext(ctx context.Context) RegionalSecretRotationPtrOutput
type RegionalSecretState ¶ added in v8.3.0
type RegionalSecretState struct { // Custom metadata about the regional secret. // Annotations are distinct from various forms of labels. Annotations exist to allow // client tools to store their own state information without requiring a database. // Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of // maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and // may have dashes (-), underscores (_), dots (.), and alphanumerics in between these // symbols. // The total size of annotation keys and values must be less than 16KiB. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // The time at which the regional secret was created. CreateTime pulumi.StringPtrInput // The customer-managed encryption configuration of the regional secret. // Structure is documented below. CustomerManagedEncryption RegionalSecretCustomerManagedEncryptionPtrInput EffectiveAnnotations pulumi.StringMapInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Timestamp in UTC when the regional secret is scheduled to expire. This is always provided on // output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with // nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and // "2014-10-02T15:01:23.045123456Z". Only one of `expireTime` or `ttl` can be provided. ExpireTime pulumi.StringPtrInput // The labels assigned to this regional secret. // Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, // and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} // No more than 64 labels can be assigned to a given resource. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location of the regional secret. eg us-central1 Location pulumi.StringPtrInput // The resource name of the regional secret. Format: // `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}` Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The rotation time and period for a regional secret. At `nextRotationTime`, Secret Manager // will send a Pub/Sub notification to the topics configured on the Secret. `topics` must be // set to configure rotation. // Structure is documented below. Rotation RegionalSecretRotationPtrInput // This must be unique within the project. // // *** SecretId pulumi.StringPtrInput // A list of up to 10 Pub/Sub topics to which messages are published when control plane // operations are called on the regional secret or its versions. // Structure is documented below. Topics RegionalSecretTopicArrayInput // The TTL for the regional secret. A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Only one of `ttl` or `expireTime` can be provided. Ttl pulumi.StringPtrInput // Mapping from version alias to version name. // A version alias is a string with a maximum length of 63 characters and can contain // uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') // characters. An alias string must start with a letter and cannot be the string // 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. // An object containing a list of "key": value pairs. Example: // { "name": "wrench", "mass": "1.3kg", "count": "3" }. VersionAliases pulumi.StringMapInput // Secret Version TTL after destruction request. // This is a part of the delayed delete feature on Secret Version. // For secret with versionDestroyTtl>0, version destruction doesn't happen immediately // on calling destroy instead the version goes to a disabled state and // the actual destruction happens after this TTL expires. It must be atleast 24h. VersionDestroyTtl pulumi.StringPtrInput }
func (RegionalSecretState) ElementType ¶ added in v8.3.0
func (RegionalSecretState) ElementType() reflect.Type
type RegionalSecretTopic ¶ added in v8.3.0
type RegionalSecretTopic struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: // projects/*/topics/*. For publication to succeed, the Secret Manager Service // Agent service account must have pubsub.publisher permissions on the topic. Name string `pulumi:"name"` }
type RegionalSecretTopicArgs ¶ added in v8.3.0
type RegionalSecretTopicArgs struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: // projects/*/topics/*. For publication to succeed, the Secret Manager Service // Agent service account must have pubsub.publisher permissions on the topic. Name pulumi.StringInput `pulumi:"name"` }
func (RegionalSecretTopicArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretTopicArgs) ElementType() reflect.Type
func (RegionalSecretTopicArgs) ToRegionalSecretTopicOutput ¶ added in v8.3.0
func (i RegionalSecretTopicArgs) ToRegionalSecretTopicOutput() RegionalSecretTopicOutput
func (RegionalSecretTopicArgs) ToRegionalSecretTopicOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretTopicArgs) ToRegionalSecretTopicOutputWithContext(ctx context.Context) RegionalSecretTopicOutput
type RegionalSecretTopicArray ¶ added in v8.3.0
type RegionalSecretTopicArray []RegionalSecretTopicInput
func (RegionalSecretTopicArray) ElementType ¶ added in v8.3.0
func (RegionalSecretTopicArray) ElementType() reflect.Type
func (RegionalSecretTopicArray) ToRegionalSecretTopicArrayOutput ¶ added in v8.3.0
func (i RegionalSecretTopicArray) ToRegionalSecretTopicArrayOutput() RegionalSecretTopicArrayOutput
func (RegionalSecretTopicArray) ToRegionalSecretTopicArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretTopicArray) ToRegionalSecretTopicArrayOutputWithContext(ctx context.Context) RegionalSecretTopicArrayOutput
type RegionalSecretTopicArrayInput ¶ added in v8.3.0
type RegionalSecretTopicArrayInput interface { pulumi.Input ToRegionalSecretTopicArrayOutput() RegionalSecretTopicArrayOutput ToRegionalSecretTopicArrayOutputWithContext(context.Context) RegionalSecretTopicArrayOutput }
RegionalSecretTopicArrayInput is an input type that accepts RegionalSecretTopicArray and RegionalSecretTopicArrayOutput values. You can construct a concrete instance of `RegionalSecretTopicArrayInput` via:
RegionalSecretTopicArray{ RegionalSecretTopicArgs{...} }
type RegionalSecretTopicArrayOutput ¶ added in v8.3.0
type RegionalSecretTopicArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretTopicArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretTopicArrayOutput) ElementType() reflect.Type
func (RegionalSecretTopicArrayOutput) Index ¶ added in v8.3.0
func (o RegionalSecretTopicArrayOutput) Index(i pulumi.IntInput) RegionalSecretTopicOutput
func (RegionalSecretTopicArrayOutput) ToRegionalSecretTopicArrayOutput ¶ added in v8.3.0
func (o RegionalSecretTopicArrayOutput) ToRegionalSecretTopicArrayOutput() RegionalSecretTopicArrayOutput
func (RegionalSecretTopicArrayOutput) ToRegionalSecretTopicArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretTopicArrayOutput) ToRegionalSecretTopicArrayOutputWithContext(ctx context.Context) RegionalSecretTopicArrayOutput
type RegionalSecretTopicInput ¶ added in v8.3.0
type RegionalSecretTopicInput interface { pulumi.Input ToRegionalSecretTopicOutput() RegionalSecretTopicOutput ToRegionalSecretTopicOutputWithContext(context.Context) RegionalSecretTopicOutput }
RegionalSecretTopicInput is an input type that accepts RegionalSecretTopicArgs and RegionalSecretTopicOutput values. You can construct a concrete instance of `RegionalSecretTopicInput` via:
RegionalSecretTopicArgs{...}
type RegionalSecretTopicOutput ¶ added in v8.3.0
type RegionalSecretTopicOutput struct{ *pulumi.OutputState }
func (RegionalSecretTopicOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretTopicOutput) ElementType() reflect.Type
func (RegionalSecretTopicOutput) Name ¶ added in v8.3.0
func (o RegionalSecretTopicOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
func (RegionalSecretTopicOutput) ToRegionalSecretTopicOutput ¶ added in v8.3.0
func (o RegionalSecretTopicOutput) ToRegionalSecretTopicOutput() RegionalSecretTopicOutput
func (RegionalSecretTopicOutput) ToRegionalSecretTopicOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretTopicOutput) ToRegionalSecretTopicOutputWithContext(ctx context.Context) RegionalSecretTopicOutput
type RegionalSecretVersion ¶ added in v8.3.0
type RegionalSecretVersion struct { pulumi.CustomResourceState // The time at which the regional secret version was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The customer-managed encryption configuration of the regional secret. // Structure is documented below. CustomerManagedEncryptions RegionalSecretVersionCustomerManagedEncryptionArrayOutput `pulumi:"customerManagedEncryptions"` // The deletion policy for the regional secret version. Setting `ABANDON` allows the resource // to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be // disabled rather than deleted. Default is `DELETE`. Possible values are: // * DELETE // * DISABLE // * ABANDON DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"` // The time at which the regional secret version was destroyed. Only present if state is DESTROYED. DestroyTime pulumi.StringOutput `pulumi:"destroyTime"` // The current state of the regional secret version. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. IsSecretDataBase64 pulumi.BoolPtrOutput `pulumi:"isSecretDataBase64"` // Location of Secret Manager regional secret resource. Location pulumi.StringOutput `pulumi:"location"` // The resource name of the regional secret version. Format: // `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}` Name pulumi.StringOutput `pulumi:"name"` // Secret Manager regional secret resource. // // *** Secret pulumi.StringOutput `pulumi:"secret"` // The secret data. Must be no larger than 64KiB. // **Note**: This property is sensitive and will not be displayed in the plan. SecretData pulumi.StringOutput `pulumi:"secretData"` // The version of the Regional Secret. Version pulumi.StringOutput `pulumi:"version"` }
A regional secret version resource.
## Example Usage
### Regional Secret Version Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "secret-basic", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("secret-version"), Location: pulumi.String("us-central1"), }) if err != nil { return err } _, err = secretmanager.NewRegionalSecretVersion(ctx, "regional_secret_version_basic", &secretmanager.RegionalSecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), }) if err != nil { return err } return nil }) }
``` ### Regional Secret Version With Base64 Data
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "secret-basic", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("secret-version"), Location: pulumi.String("us-central1"), }) if err != nil { return err } invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{ Input: "secret-data.pfx", }, nil) if err != nil { return err } _, err = secretmanager.NewRegionalSecretVersion(ctx, "regional_secret_version_base64", &secretmanager.RegionalSecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String(invokeFilebase64.Result), IsSecretDataBase64: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
``` ### Regional Secret Version Disabled
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "secret-basic", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("secret-version"), Location: pulumi.String("us-central1"), }) if err != nil { return err } _, err = secretmanager.NewRegionalSecretVersion(ctx, "regional_secret_version_disabled", &secretmanager.RegionalSecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), Enabled: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
``` ### Regional Secret Version Deletion Policy Abandon
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "secret-basic", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("secret-version"), Location: pulumi.String("us-central1"), }) if err != nil { return err } _, err = secretmanager.NewRegionalSecretVersion(ctx, "regional_secret_version_deletion_policy", &secretmanager.RegionalSecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), DeletionPolicy: pulumi.String("ABANDON"), }) if err != nil { return err } return nil }) }
``` ### Regional Secret Version Deletion Policy Disable
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewRegionalSecret(ctx, "secret-basic", &secretmanager.RegionalSecretArgs{ SecretId: pulumi.String("secret-version"), Location: pulumi.String("us-central1"), }) if err != nil { return err } _, err = secretmanager.NewRegionalSecretVersion(ctx, "regional_secret_version_deletion_policy", &secretmanager.RegionalSecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), DeletionPolicy: pulumi.String("DISABLE"), }) if err != nil { return err } return nil }) }
```
## Import
RegionalSecretVersion can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}`
When using the `pulumi import` command, RegionalSecretVersion can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:secretmanager/regionalSecretVersion:RegionalSecretVersion default projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}} ```
func GetRegionalSecretVersion ¶ added in v8.3.0
func GetRegionalSecretVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegionalSecretVersionState, opts ...pulumi.ResourceOption) (*RegionalSecretVersion, error)
GetRegionalSecretVersion gets an existing RegionalSecretVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRegionalSecretVersion ¶ added in v8.3.0
func NewRegionalSecretVersion(ctx *pulumi.Context, name string, args *RegionalSecretVersionArgs, opts ...pulumi.ResourceOption) (*RegionalSecretVersion, error)
NewRegionalSecretVersion registers a new resource with the given unique name, arguments, and options.
func (*RegionalSecretVersion) ElementType ¶ added in v8.3.0
func (*RegionalSecretVersion) ElementType() reflect.Type
func (*RegionalSecretVersion) ToRegionalSecretVersionOutput ¶ added in v8.3.0
func (i *RegionalSecretVersion) ToRegionalSecretVersionOutput() RegionalSecretVersionOutput
func (*RegionalSecretVersion) ToRegionalSecretVersionOutputWithContext ¶ added in v8.3.0
func (i *RegionalSecretVersion) ToRegionalSecretVersionOutputWithContext(ctx context.Context) RegionalSecretVersionOutput
type RegionalSecretVersionArgs ¶ added in v8.3.0
type RegionalSecretVersionArgs struct { // The deletion policy for the regional secret version. Setting `ABANDON` allows the resource // to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be // disabled rather than deleted. Default is `DELETE`. Possible values are: // * DELETE // * DISABLE // * ABANDON DeletionPolicy pulumi.StringPtrInput // The current state of the regional secret version. Enabled pulumi.BoolPtrInput // If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. IsSecretDataBase64 pulumi.BoolPtrInput // Secret Manager regional secret resource. // // *** Secret pulumi.StringInput // The secret data. Must be no larger than 64KiB. // **Note**: This property is sensitive and will not be displayed in the plan. SecretData pulumi.StringInput }
The set of arguments for constructing a RegionalSecretVersion resource.
func (RegionalSecretVersionArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionArgs) ElementType() reflect.Type
type RegionalSecretVersionArray ¶ added in v8.3.0
type RegionalSecretVersionArray []RegionalSecretVersionInput
func (RegionalSecretVersionArray) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionArray) ElementType() reflect.Type
func (RegionalSecretVersionArray) ToRegionalSecretVersionArrayOutput ¶ added in v8.3.0
func (i RegionalSecretVersionArray) ToRegionalSecretVersionArrayOutput() RegionalSecretVersionArrayOutput
func (RegionalSecretVersionArray) ToRegionalSecretVersionArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretVersionArray) ToRegionalSecretVersionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionArrayOutput
type RegionalSecretVersionArrayInput ¶ added in v8.3.0
type RegionalSecretVersionArrayInput interface { pulumi.Input ToRegionalSecretVersionArrayOutput() RegionalSecretVersionArrayOutput ToRegionalSecretVersionArrayOutputWithContext(context.Context) RegionalSecretVersionArrayOutput }
RegionalSecretVersionArrayInput is an input type that accepts RegionalSecretVersionArray and RegionalSecretVersionArrayOutput values. You can construct a concrete instance of `RegionalSecretVersionArrayInput` via:
RegionalSecretVersionArray{ RegionalSecretVersionArgs{...} }
type RegionalSecretVersionArrayOutput ¶ added in v8.3.0
type RegionalSecretVersionArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretVersionArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionArrayOutput) ElementType() reflect.Type
func (RegionalSecretVersionArrayOutput) Index ¶ added in v8.3.0
func (o RegionalSecretVersionArrayOutput) Index(i pulumi.IntInput) RegionalSecretVersionOutput
func (RegionalSecretVersionArrayOutput) ToRegionalSecretVersionArrayOutput ¶ added in v8.3.0
func (o RegionalSecretVersionArrayOutput) ToRegionalSecretVersionArrayOutput() RegionalSecretVersionArrayOutput
func (RegionalSecretVersionArrayOutput) ToRegionalSecretVersionArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretVersionArrayOutput) ToRegionalSecretVersionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionArrayOutput
type RegionalSecretVersionCustomerManagedEncryption ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryption struct { // (Output) // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyVersionName *string `pulumi:"kmsKeyVersionName"` }
type RegionalSecretVersionCustomerManagedEncryptionArgs ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryptionArgs struct { // (Output) // The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads. KmsKeyVersionName pulumi.StringPtrInput `pulumi:"kmsKeyVersionName"` }
func (RegionalSecretVersionCustomerManagedEncryptionArgs) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (RegionalSecretVersionCustomerManagedEncryptionArgs) ToRegionalSecretVersionCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (i RegionalSecretVersionCustomerManagedEncryptionArgs) ToRegionalSecretVersionCustomerManagedEncryptionOutput() RegionalSecretVersionCustomerManagedEncryptionOutput
func (RegionalSecretVersionCustomerManagedEncryptionArgs) ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretVersionCustomerManagedEncryptionArgs) ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionOutput
type RegionalSecretVersionCustomerManagedEncryptionArray ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryptionArray []RegionalSecretVersionCustomerManagedEncryptionInput
func (RegionalSecretVersionCustomerManagedEncryptionArray) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionCustomerManagedEncryptionArray) ElementType() reflect.Type
func (RegionalSecretVersionCustomerManagedEncryptionArray) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
func (i RegionalSecretVersionCustomerManagedEncryptionArray) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput() RegionalSecretVersionCustomerManagedEncryptionArrayOutput
func (RegionalSecretVersionCustomerManagedEncryptionArray) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretVersionCustomerManagedEncryptionArray) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionArrayOutput
type RegionalSecretVersionCustomerManagedEncryptionArrayInput ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryptionArrayInput interface { pulumi.Input ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput() RegionalSecretVersionCustomerManagedEncryptionArrayOutput ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(context.Context) RegionalSecretVersionCustomerManagedEncryptionArrayOutput }
RegionalSecretVersionCustomerManagedEncryptionArrayInput is an input type that accepts RegionalSecretVersionCustomerManagedEncryptionArray and RegionalSecretVersionCustomerManagedEncryptionArrayOutput values. You can construct a concrete instance of `RegionalSecretVersionCustomerManagedEncryptionArrayInput` via:
RegionalSecretVersionCustomerManagedEncryptionArray{ RegionalSecretVersionCustomerManagedEncryptionArgs{...} }
type RegionalSecretVersionCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryptionArrayOutput struct{ *pulumi.OutputState }
func (RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ElementType() reflect.Type
func (RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput ¶ added in v8.3.0
func (o RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutput() RegionalSecretVersionCustomerManagedEncryptionArrayOutput
func (RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretVersionCustomerManagedEncryptionArrayOutput) ToRegionalSecretVersionCustomerManagedEncryptionArrayOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionArrayOutput
type RegionalSecretVersionCustomerManagedEncryptionInput ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryptionInput interface { pulumi.Input ToRegionalSecretVersionCustomerManagedEncryptionOutput() RegionalSecretVersionCustomerManagedEncryptionOutput ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(context.Context) RegionalSecretVersionCustomerManagedEncryptionOutput }
RegionalSecretVersionCustomerManagedEncryptionInput is an input type that accepts RegionalSecretVersionCustomerManagedEncryptionArgs and RegionalSecretVersionCustomerManagedEncryptionOutput values. You can construct a concrete instance of `RegionalSecretVersionCustomerManagedEncryptionInput` via:
RegionalSecretVersionCustomerManagedEncryptionArgs{...}
type RegionalSecretVersionCustomerManagedEncryptionOutput ¶ added in v8.3.0
type RegionalSecretVersionCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (RegionalSecretVersionCustomerManagedEncryptionOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (RegionalSecretVersionCustomerManagedEncryptionOutput) KmsKeyVersionName ¶ added in v8.3.0
func (o RegionalSecretVersionCustomerManagedEncryptionOutput) KmsKeyVersionName() pulumi.StringPtrOutput
(Output) The resource name of the Cloud KMS CryptoKey used to encrypt secret payloads.
func (RegionalSecretVersionCustomerManagedEncryptionOutput) ToRegionalSecretVersionCustomerManagedEncryptionOutput ¶ added in v8.3.0
func (o RegionalSecretVersionCustomerManagedEncryptionOutput) ToRegionalSecretVersionCustomerManagedEncryptionOutput() RegionalSecretVersionCustomerManagedEncryptionOutput
func (RegionalSecretVersionCustomerManagedEncryptionOutput) ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretVersionCustomerManagedEncryptionOutput) ToRegionalSecretVersionCustomerManagedEncryptionOutputWithContext(ctx context.Context) RegionalSecretVersionCustomerManagedEncryptionOutput
type RegionalSecretVersionInput ¶ added in v8.3.0
type RegionalSecretVersionInput interface { pulumi.Input ToRegionalSecretVersionOutput() RegionalSecretVersionOutput ToRegionalSecretVersionOutputWithContext(ctx context.Context) RegionalSecretVersionOutput }
type RegionalSecretVersionMap ¶ added in v8.3.0
type RegionalSecretVersionMap map[string]RegionalSecretVersionInput
func (RegionalSecretVersionMap) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionMap) ElementType() reflect.Type
func (RegionalSecretVersionMap) ToRegionalSecretVersionMapOutput ¶ added in v8.3.0
func (i RegionalSecretVersionMap) ToRegionalSecretVersionMapOutput() RegionalSecretVersionMapOutput
func (RegionalSecretVersionMap) ToRegionalSecretVersionMapOutputWithContext ¶ added in v8.3.0
func (i RegionalSecretVersionMap) ToRegionalSecretVersionMapOutputWithContext(ctx context.Context) RegionalSecretVersionMapOutput
type RegionalSecretVersionMapInput ¶ added in v8.3.0
type RegionalSecretVersionMapInput interface { pulumi.Input ToRegionalSecretVersionMapOutput() RegionalSecretVersionMapOutput ToRegionalSecretVersionMapOutputWithContext(context.Context) RegionalSecretVersionMapOutput }
RegionalSecretVersionMapInput is an input type that accepts RegionalSecretVersionMap and RegionalSecretVersionMapOutput values. You can construct a concrete instance of `RegionalSecretVersionMapInput` via:
RegionalSecretVersionMap{ "key": RegionalSecretVersionArgs{...} }
type RegionalSecretVersionMapOutput ¶ added in v8.3.0
type RegionalSecretVersionMapOutput struct{ *pulumi.OutputState }
func (RegionalSecretVersionMapOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionMapOutput) ElementType() reflect.Type
func (RegionalSecretVersionMapOutput) MapIndex ¶ added in v8.3.0
func (o RegionalSecretVersionMapOutput) MapIndex(k pulumi.StringInput) RegionalSecretVersionOutput
func (RegionalSecretVersionMapOutput) ToRegionalSecretVersionMapOutput ¶ added in v8.3.0
func (o RegionalSecretVersionMapOutput) ToRegionalSecretVersionMapOutput() RegionalSecretVersionMapOutput
func (RegionalSecretVersionMapOutput) ToRegionalSecretVersionMapOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretVersionMapOutput) ToRegionalSecretVersionMapOutputWithContext(ctx context.Context) RegionalSecretVersionMapOutput
type RegionalSecretVersionOutput ¶ added in v8.3.0
type RegionalSecretVersionOutput struct{ *pulumi.OutputState }
func (RegionalSecretVersionOutput) CreateTime ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) CreateTime() pulumi.StringOutput
The time at which the regional secret version was created.
func (RegionalSecretVersionOutput) CustomerManagedEncryptions ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) CustomerManagedEncryptions() RegionalSecretVersionCustomerManagedEncryptionArrayOutput
The customer-managed encryption configuration of the regional secret. Structure is documented below.
func (RegionalSecretVersionOutput) DeletionPolicy ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) DeletionPolicy() pulumi.StringPtrOutput
The deletion policy for the regional secret version. Setting `ABANDON` allows the resource to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be disabled rather than deleted. Default is `DELETE`. Possible values are: * DELETE * DISABLE * ABANDON
func (RegionalSecretVersionOutput) DestroyTime ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) DestroyTime() pulumi.StringOutput
The time at which the regional secret version was destroyed. Only present if state is DESTROYED.
func (RegionalSecretVersionOutput) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionOutput) ElementType() reflect.Type
func (RegionalSecretVersionOutput) Enabled ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) Enabled() pulumi.BoolPtrOutput
The current state of the regional secret version.
func (RegionalSecretVersionOutput) IsSecretDataBase64 ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
func (RegionalSecretVersionOutput) Location ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) Location() pulumi.StringOutput
Location of Secret Manager regional secret resource.
func (RegionalSecretVersionOutput) Name ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) Name() pulumi.StringOutput
The resource name of the regional secret version. Format: `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}`
func (RegionalSecretVersionOutput) Secret ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) Secret() pulumi.StringOutput
Secret Manager regional secret resource.
***
func (RegionalSecretVersionOutput) SecretData ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) SecretData() pulumi.StringOutput
The secret data. Must be no larger than 64KiB. **Note**: This property is sensitive and will not be displayed in the plan.
func (RegionalSecretVersionOutput) ToRegionalSecretVersionOutput ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) ToRegionalSecretVersionOutput() RegionalSecretVersionOutput
func (RegionalSecretVersionOutput) ToRegionalSecretVersionOutputWithContext ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) ToRegionalSecretVersionOutputWithContext(ctx context.Context) RegionalSecretVersionOutput
func (RegionalSecretVersionOutput) Version ¶ added in v8.3.0
func (o RegionalSecretVersionOutput) Version() pulumi.StringOutput
The version of the Regional Secret.
type RegionalSecretVersionState ¶ added in v8.3.0
type RegionalSecretVersionState struct { // The time at which the regional secret version was created. CreateTime pulumi.StringPtrInput // The customer-managed encryption configuration of the regional secret. // Structure is documented below. CustomerManagedEncryptions RegionalSecretVersionCustomerManagedEncryptionArrayInput // The deletion policy for the regional secret version. Setting `ABANDON` allows the resource // to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be // disabled rather than deleted. Default is `DELETE`. Possible values are: // * DELETE // * DISABLE // * ABANDON DeletionPolicy pulumi.StringPtrInput // The time at which the regional secret version was destroyed. Only present if state is DESTROYED. DestroyTime pulumi.StringPtrInput // The current state of the regional secret version. Enabled pulumi.BoolPtrInput // If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. IsSecretDataBase64 pulumi.BoolPtrInput // Location of Secret Manager regional secret resource. Location pulumi.StringPtrInput // The resource name of the regional secret version. Format: // `projects/{{project}}/locations/{{location}}/secrets/{{secret_id}}/versions/{{version}}` Name pulumi.StringPtrInput // Secret Manager regional secret resource. // // *** Secret pulumi.StringPtrInput // The secret data. Must be no larger than 64KiB. // **Note**: This property is sensitive and will not be displayed in the plan. SecretData pulumi.StringPtrInput // The version of the Regional Secret. Version pulumi.StringPtrInput }
func (RegionalSecretVersionState) ElementType ¶ added in v8.3.0
func (RegionalSecretVersionState) ElementType() reflect.Type
type Secret ¶
type Secret struct { pulumi.CustomResourceState // Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow // client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 // characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), // and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of // annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { // "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the // annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations // present on the resource. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // The time at which the Secret was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent // on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of 'expire_time' or 'ttl' can be // provided. ExpireTime pulumi.StringOutput `pulumi:"expireTime"` // The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of // maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to // the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given // resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" // }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please // refer to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The resource name of the Secret. Format: // `projects/{{project}}/secrets/{{secret_id}}` Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The replication policy of the secret data attached to the Secret. It cannot be changed // after the Secret has been created. // Structure is documented below. Replication SecretReplicationOutput `pulumi:"replication"` // The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to // the topics configured on the Secret. 'topics' must be set to configure rotation. Rotation SecretRotationPtrOutput `pulumi:"rotation"` // This must be unique within the project. SecretId pulumi.StringOutput `pulumi:"secretId"` // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret // or its versions. Topics SecretTopicArrayOutput `pulumi:"topics"` // The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // Only one of 'ttl' or 'expire_time' can be provided. Ttl pulumi.StringPtrOutput `pulumi:"ttl"` // Mapping from version alias to version name. A version alias is a string with a maximum length of 63 characters and can // contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string // must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given // secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. VersionAliases pulumi.StringMapOutput `pulumi:"versionAliases"` // Secret Version TTL after destruction request. This is a part of the delayed delete feature on Secret Version. For secret // with versionDestroyTtl>0, version destruction doesn't happen immediately on calling destroy instead the version goes to // a disabled state and the actual destruction happens after this TTL expires. VersionDestroyTtl pulumi.StringPtrOutput `pulumi:"versionDestroyTtl"` }
A Secret is a logical secret whose value and versions can be accessed.
To get more information about Secret, see:
* [API documentation](https://cloud.google.com/secret-manager/docs/reference/rest/v1/projects.secrets)
## Example Usage
### Secret Config Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-basic", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Replication: &secretmanager.SecretReplicationArgs{ UserManaged: &secretmanager.SecretReplicationUserManagedArgs{ Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{ &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-central1"), }, &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-east1"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Secret With Annotations
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-with-annotations", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Annotations: pulumi.StringMap{ "key1": pulumi.String("someval"), "key2": pulumi.String("someval2"), "key3": pulumi.String("someval3"), "key4": pulumi.String("someval4"), "key5": pulumi.String("someval5"), }, Replication: &secretmanager.SecretReplicationArgs{ Auto: &secretmanager.SecretReplicationAutoArgs{}, }, }) if err != nil { return err } return nil }) }
``` ### Secret With Version Destroy Ttl
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-with-version-destroy-ttl", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret"), VersionDestroyTtl: pulumi.String("2592000s"), Replication: &secretmanager.SecretReplicationArgs{ Auto: &secretmanager.SecretReplicationAutoArgs{}, }, }) if err != nil { return err } return nil }) }
``` ### Secret With Automatic Cmek
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := organizations.LookupProject(ctx, &organizations.LookupProjectArgs{}, nil) if err != nil { return err } _, err = kms.NewCryptoKeyIAMMember(ctx, "kms-secret-binding", &kms.CryptoKeyIAMMemberArgs{ CryptoKeyId: pulumi.String("kms-key"), Role: pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"), Member: pulumi.Sprintf("serviceAccount:service-%v@gcp-sa-secretmanager.iam.gserviceaccount.com", project.Number), }) if err != nil { return err } _, err = secretmanager.NewSecret(ctx, "secret-with-automatic-cmek", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret"), Replication: &secretmanager.SecretReplicationArgs{ Auto: &secretmanager.SecretReplicationAutoArgs{ CustomerManagedEncryption: &secretmanager.SecretReplicationAutoCustomerManagedEncryptionArgs{ KmsKeyName: pulumi.String("kms-key"), }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ kms_secret_binding, })) if err != nil { return err } return nil }) }
```
## Import
Secret can be imported using any of these accepted formats:
* `projects/{{project}}/secrets/{{secret_id}}`
* `{{project}}/{{secret_id}}`
* `{{secret_id}}`
When using the `pulumi import` command, Secret can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:secretmanager/secret:Secret default projects/{{project}}/secrets/{{secret_id}} ```
```sh $ pulumi import gcp:secretmanager/secret:Secret default {{project}}/{{secret_id}} ```
```sh $ pulumi import gcp:secretmanager/secret:Secret default {{secret_id}} ```
func GetSecret ¶
func GetSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)
GetSecret gets an existing Secret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecret ¶
func NewSecret(ctx *pulumi.Context, name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)
NewSecret registers a new resource with the given unique name, arguments, and options.
func (*Secret) ElementType ¶
func (*Secret) ToSecretOutput ¶
func (i *Secret) ToSecretOutput() SecretOutput
func (*Secret) ToSecretOutputWithContext ¶
func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput
type SecretArgs ¶
type SecretArgs struct { // Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow // client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 // characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), // and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of // annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { // "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the // annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations // present on the resource. Annotations pulumi.StringMapInput // Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent // on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of 'expire_time' or 'ttl' can be // provided. ExpireTime pulumi.StringPtrInput // The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of // maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to // the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given // resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" // }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please // refer to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapInput Project pulumi.StringPtrInput // The replication policy of the secret data attached to the Secret. It cannot be changed // after the Secret has been created. // Structure is documented below. Replication SecretReplicationInput // The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to // the topics configured on the Secret. 'topics' must be set to configure rotation. Rotation SecretRotationPtrInput // This must be unique within the project. SecretId pulumi.StringInput // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret // or its versions. Topics SecretTopicArrayInput // The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // Only one of 'ttl' or 'expire_time' can be provided. Ttl pulumi.StringPtrInput // Mapping from version alias to version name. A version alias is a string with a maximum length of 63 characters and can // contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string // must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given // secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. VersionAliases pulumi.StringMapInput // Secret Version TTL after destruction request. This is a part of the delayed delete feature on Secret Version. For secret // with versionDestroyTtl>0, version destruction doesn't happen immediately on calling destroy instead the version goes to // a disabled state and the actual destruction happens after this TTL expires. VersionDestroyTtl pulumi.StringPtrInput }
The set of arguments for constructing a Secret resource.
func (SecretArgs) ElementType ¶
func (SecretArgs) ElementType() reflect.Type
type SecretArray ¶
type SecretArray []SecretInput
func (SecretArray) ElementType ¶
func (SecretArray) ElementType() reflect.Type
func (SecretArray) ToSecretArrayOutput ¶
func (i SecretArray) ToSecretArrayOutput() SecretArrayOutput
func (SecretArray) ToSecretArrayOutputWithContext ¶
func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
type SecretArrayInput ¶
type SecretArrayInput interface { pulumi.Input ToSecretArrayOutput() SecretArrayOutput ToSecretArrayOutputWithContext(context.Context) SecretArrayOutput }
SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. You can construct a concrete instance of `SecretArrayInput` via:
SecretArray{ SecretArgs{...} }
type SecretArrayOutput ¶
type SecretArrayOutput struct{ *pulumi.OutputState }
func (SecretArrayOutput) ElementType ¶
func (SecretArrayOutput) ElementType() reflect.Type
func (SecretArrayOutput) Index ¶
func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput
func (SecretArrayOutput) ToSecretArrayOutput ¶
func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput
func (SecretArrayOutput) ToSecretArrayOutputWithContext ¶
func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
type SecretIamBinding ¶
type SecretIamBinding struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition SecretIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` SecretId pulumi.StringOutput `pulumi:"secretId"` }
Three different resources help you manage your IAM policy for Secret Manager Secret. Each of these resources serves a different use case:
* `secretmanager.SecretIamPolicy`: Authoritative. Sets the IAM policy for the secret and replaces any existing policy already attached. * `secretmanager.SecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the secret are preserved. * `secretmanager.SecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the secret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.SecretIamPolicy`: Retrieves the IAM policy for the secret
> **Note:** `secretmanager.SecretIamPolicy` **cannot** be used in conjunction with `secretmanager.SecretIamBinding` and `secretmanager.SecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.SecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.SecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.SecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Secret Manager Secret Three different resources help you manage your IAM policy for Secret Manager Secret. Each of these resources serves a different use case:
* `secretmanager.SecretIamPolicy`: Authoritative. Sets the IAM policy for the secret and replaces any existing policy already attached. * `secretmanager.SecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the secret are preserved. * `secretmanager.SecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the secret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.SecretIamPolicy`: Retrieves the IAM policy for the secret
> **Note:** `secretmanager.SecretIamPolicy` **cannot** be used in conjunction with `secretmanager.SecretIamBinding` and `secretmanager.SecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.SecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.SecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.SecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/secrets/{{secret_id}}
* {{project}}/{{secret_id}}
* {{secret_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Secret Manager secret IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamBinding:SecretIamBinding editor "projects/{{project}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamBinding:SecretIamBinding editor "projects/{{project}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamBinding:SecretIamBinding editor projects/{{project}}/secrets/{{secret_id}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetSecretIamBinding ¶
func GetSecretIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretIamBindingState, opts ...pulumi.ResourceOption) (*SecretIamBinding, error)
GetSecretIamBinding gets an existing SecretIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecretIamBinding ¶
func NewSecretIamBinding(ctx *pulumi.Context, name string, args *SecretIamBindingArgs, opts ...pulumi.ResourceOption) (*SecretIamBinding, error)
NewSecretIamBinding registers a new resource with the given unique name, arguments, and options.
func (*SecretIamBinding) ElementType ¶
func (*SecretIamBinding) ElementType() reflect.Type
func (*SecretIamBinding) ToSecretIamBindingOutput ¶
func (i *SecretIamBinding) ToSecretIamBindingOutput() SecretIamBindingOutput
func (*SecretIamBinding) ToSecretIamBindingOutputWithContext ¶
func (i *SecretIamBinding) ToSecretIamBindingOutputWithContext(ctx context.Context) SecretIamBindingOutput
type SecretIamBindingArgs ¶
type SecretIamBindingArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition SecretIamBindingConditionPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput SecretId pulumi.StringInput }
The set of arguments for constructing a SecretIamBinding resource.
func (SecretIamBindingArgs) ElementType ¶
func (SecretIamBindingArgs) ElementType() reflect.Type
type SecretIamBindingArray ¶
type SecretIamBindingArray []SecretIamBindingInput
func (SecretIamBindingArray) ElementType ¶
func (SecretIamBindingArray) ElementType() reflect.Type
func (SecretIamBindingArray) ToSecretIamBindingArrayOutput ¶
func (i SecretIamBindingArray) ToSecretIamBindingArrayOutput() SecretIamBindingArrayOutput
func (SecretIamBindingArray) ToSecretIamBindingArrayOutputWithContext ¶
func (i SecretIamBindingArray) ToSecretIamBindingArrayOutputWithContext(ctx context.Context) SecretIamBindingArrayOutput
type SecretIamBindingArrayInput ¶
type SecretIamBindingArrayInput interface { pulumi.Input ToSecretIamBindingArrayOutput() SecretIamBindingArrayOutput ToSecretIamBindingArrayOutputWithContext(context.Context) SecretIamBindingArrayOutput }
SecretIamBindingArrayInput is an input type that accepts SecretIamBindingArray and SecretIamBindingArrayOutput values. You can construct a concrete instance of `SecretIamBindingArrayInput` via:
SecretIamBindingArray{ SecretIamBindingArgs{...} }
type SecretIamBindingArrayOutput ¶
type SecretIamBindingArrayOutput struct{ *pulumi.OutputState }
func (SecretIamBindingArrayOutput) ElementType ¶
func (SecretIamBindingArrayOutput) ElementType() reflect.Type
func (SecretIamBindingArrayOutput) Index ¶
func (o SecretIamBindingArrayOutput) Index(i pulumi.IntInput) SecretIamBindingOutput
func (SecretIamBindingArrayOutput) ToSecretIamBindingArrayOutput ¶
func (o SecretIamBindingArrayOutput) ToSecretIamBindingArrayOutput() SecretIamBindingArrayOutput
func (SecretIamBindingArrayOutput) ToSecretIamBindingArrayOutputWithContext ¶
func (o SecretIamBindingArrayOutput) ToSecretIamBindingArrayOutputWithContext(ctx context.Context) SecretIamBindingArrayOutput
type SecretIamBindingCondition ¶
type SecretIamBindingCondition struct { Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type SecretIamBindingConditionArgs ¶
type SecretIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (SecretIamBindingConditionArgs) ElementType ¶
func (SecretIamBindingConditionArgs) ElementType() reflect.Type
func (SecretIamBindingConditionArgs) ToSecretIamBindingConditionOutput ¶
func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionOutput() SecretIamBindingConditionOutput
func (SecretIamBindingConditionArgs) ToSecretIamBindingConditionOutputWithContext ¶
func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionOutputWithContext(ctx context.Context) SecretIamBindingConditionOutput
func (SecretIamBindingConditionArgs) ToSecretIamBindingConditionPtrOutput ¶
func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput
func (SecretIamBindingConditionArgs) ToSecretIamBindingConditionPtrOutputWithContext ¶
func (i SecretIamBindingConditionArgs) ToSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) SecretIamBindingConditionPtrOutput
type SecretIamBindingConditionInput ¶
type SecretIamBindingConditionInput interface { pulumi.Input ToSecretIamBindingConditionOutput() SecretIamBindingConditionOutput ToSecretIamBindingConditionOutputWithContext(context.Context) SecretIamBindingConditionOutput }
SecretIamBindingConditionInput is an input type that accepts SecretIamBindingConditionArgs and SecretIamBindingConditionOutput values. You can construct a concrete instance of `SecretIamBindingConditionInput` via:
SecretIamBindingConditionArgs{...}
type SecretIamBindingConditionOutput ¶
type SecretIamBindingConditionOutput struct{ *pulumi.OutputState }
func (SecretIamBindingConditionOutput) Description ¶
func (o SecretIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (SecretIamBindingConditionOutput) ElementType ¶
func (SecretIamBindingConditionOutput) ElementType() reflect.Type
func (SecretIamBindingConditionOutput) Expression ¶
func (o SecretIamBindingConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (SecretIamBindingConditionOutput) Title ¶
func (o SecretIamBindingConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (SecretIamBindingConditionOutput) ToSecretIamBindingConditionOutput ¶
func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionOutput() SecretIamBindingConditionOutput
func (SecretIamBindingConditionOutput) ToSecretIamBindingConditionOutputWithContext ¶
func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionOutputWithContext(ctx context.Context) SecretIamBindingConditionOutput
func (SecretIamBindingConditionOutput) ToSecretIamBindingConditionPtrOutput ¶
func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput
func (SecretIamBindingConditionOutput) ToSecretIamBindingConditionPtrOutputWithContext ¶
func (o SecretIamBindingConditionOutput) ToSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) SecretIamBindingConditionPtrOutput
type SecretIamBindingConditionPtrInput ¶
type SecretIamBindingConditionPtrInput interface { pulumi.Input ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput ToSecretIamBindingConditionPtrOutputWithContext(context.Context) SecretIamBindingConditionPtrOutput }
SecretIamBindingConditionPtrInput is an input type that accepts SecretIamBindingConditionArgs, SecretIamBindingConditionPtr and SecretIamBindingConditionPtrOutput values. You can construct a concrete instance of `SecretIamBindingConditionPtrInput` via:
SecretIamBindingConditionArgs{...} or: nil
func SecretIamBindingConditionPtr ¶
func SecretIamBindingConditionPtr(v *SecretIamBindingConditionArgs) SecretIamBindingConditionPtrInput
type SecretIamBindingConditionPtrOutput ¶
type SecretIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (SecretIamBindingConditionPtrOutput) Description ¶
func (o SecretIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (SecretIamBindingConditionPtrOutput) Elem ¶
func (o SecretIamBindingConditionPtrOutput) Elem() SecretIamBindingConditionOutput
func (SecretIamBindingConditionPtrOutput) ElementType ¶
func (SecretIamBindingConditionPtrOutput) ElementType() reflect.Type
func (SecretIamBindingConditionPtrOutput) Expression ¶
func (o SecretIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (SecretIamBindingConditionPtrOutput) Title ¶
func (o SecretIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (SecretIamBindingConditionPtrOutput) ToSecretIamBindingConditionPtrOutput ¶
func (o SecretIamBindingConditionPtrOutput) ToSecretIamBindingConditionPtrOutput() SecretIamBindingConditionPtrOutput
func (SecretIamBindingConditionPtrOutput) ToSecretIamBindingConditionPtrOutputWithContext ¶
func (o SecretIamBindingConditionPtrOutput) ToSecretIamBindingConditionPtrOutputWithContext(ctx context.Context) SecretIamBindingConditionPtrOutput
type SecretIamBindingInput ¶
type SecretIamBindingInput interface { pulumi.Input ToSecretIamBindingOutput() SecretIamBindingOutput ToSecretIamBindingOutputWithContext(ctx context.Context) SecretIamBindingOutput }
type SecretIamBindingMap ¶
type SecretIamBindingMap map[string]SecretIamBindingInput
func (SecretIamBindingMap) ElementType ¶
func (SecretIamBindingMap) ElementType() reflect.Type
func (SecretIamBindingMap) ToSecretIamBindingMapOutput ¶
func (i SecretIamBindingMap) ToSecretIamBindingMapOutput() SecretIamBindingMapOutput
func (SecretIamBindingMap) ToSecretIamBindingMapOutputWithContext ¶
func (i SecretIamBindingMap) ToSecretIamBindingMapOutputWithContext(ctx context.Context) SecretIamBindingMapOutput
type SecretIamBindingMapInput ¶
type SecretIamBindingMapInput interface { pulumi.Input ToSecretIamBindingMapOutput() SecretIamBindingMapOutput ToSecretIamBindingMapOutputWithContext(context.Context) SecretIamBindingMapOutput }
SecretIamBindingMapInput is an input type that accepts SecretIamBindingMap and SecretIamBindingMapOutput values. You can construct a concrete instance of `SecretIamBindingMapInput` via:
SecretIamBindingMap{ "key": SecretIamBindingArgs{...} }
type SecretIamBindingMapOutput ¶
type SecretIamBindingMapOutput struct{ *pulumi.OutputState }
func (SecretIamBindingMapOutput) ElementType ¶
func (SecretIamBindingMapOutput) ElementType() reflect.Type
func (SecretIamBindingMapOutput) MapIndex ¶
func (o SecretIamBindingMapOutput) MapIndex(k pulumi.StringInput) SecretIamBindingOutput
func (SecretIamBindingMapOutput) ToSecretIamBindingMapOutput ¶
func (o SecretIamBindingMapOutput) ToSecretIamBindingMapOutput() SecretIamBindingMapOutput
func (SecretIamBindingMapOutput) ToSecretIamBindingMapOutputWithContext ¶
func (o SecretIamBindingMapOutput) ToSecretIamBindingMapOutputWithContext(ctx context.Context) SecretIamBindingMapOutput
type SecretIamBindingOutput ¶
type SecretIamBindingOutput struct{ *pulumi.OutputState }
func (SecretIamBindingOutput) Condition ¶
func (o SecretIamBindingOutput) Condition() SecretIamBindingConditionPtrOutput
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.
func (SecretIamBindingOutput) ElementType ¶
func (SecretIamBindingOutput) ElementType() reflect.Type
func (SecretIamBindingOutput) Etag ¶
func (o SecretIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (SecretIamBindingOutput) Members ¶
func (o SecretIamBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (SecretIamBindingOutput) Project ¶
func (o SecretIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (SecretIamBindingOutput) Role ¶
func (o SecretIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (SecretIamBindingOutput) SecretId ¶
func (o SecretIamBindingOutput) SecretId() pulumi.StringOutput
func (SecretIamBindingOutput) ToSecretIamBindingOutput ¶
func (o SecretIamBindingOutput) ToSecretIamBindingOutput() SecretIamBindingOutput
func (SecretIamBindingOutput) ToSecretIamBindingOutputWithContext ¶
func (o SecretIamBindingOutput) ToSecretIamBindingOutputWithContext(ctx context.Context) SecretIamBindingOutput
type SecretIamBindingState ¶
type SecretIamBindingState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition SecretIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput SecretId pulumi.StringPtrInput }
func (SecretIamBindingState) ElementType ¶
func (SecretIamBindingState) ElementType() reflect.Type
type SecretIamMember ¶
type SecretIamMember struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition SecretIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` SecretId pulumi.StringOutput `pulumi:"secretId"` }
Three different resources help you manage your IAM policy for Secret Manager Secret. Each of these resources serves a different use case:
* `secretmanager.SecretIamPolicy`: Authoritative. Sets the IAM policy for the secret and replaces any existing policy already attached. * `secretmanager.SecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the secret are preserved. * `secretmanager.SecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the secret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.SecretIamPolicy`: Retrieves the IAM policy for the secret
> **Note:** `secretmanager.SecretIamPolicy` **cannot** be used in conjunction with `secretmanager.SecretIamBinding` and `secretmanager.SecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.SecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.SecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.SecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Secret Manager Secret Three different resources help you manage your IAM policy for Secret Manager Secret. Each of these resources serves a different use case:
* `secretmanager.SecretIamPolicy`: Authoritative. Sets the IAM policy for the secret and replaces any existing policy already attached. * `secretmanager.SecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the secret are preserved. * `secretmanager.SecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the secret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.SecretIamPolicy`: Retrieves the IAM policy for the secret
> **Note:** `secretmanager.SecretIamPolicy` **cannot** be used in conjunction with `secretmanager.SecretIamBinding` and `secretmanager.SecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.SecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.SecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.SecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/secrets/{{secret_id}}
* {{project}}/{{secret_id}}
* {{secret_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Secret Manager secret IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamMember:SecretIamMember editor "projects/{{project}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamMember:SecretIamMember editor "projects/{{project}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamMember:SecretIamMember editor projects/{{project}}/secrets/{{secret_id}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetSecretIamMember ¶
func GetSecretIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretIamMemberState, opts ...pulumi.ResourceOption) (*SecretIamMember, error)
GetSecretIamMember gets an existing SecretIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecretIamMember ¶
func NewSecretIamMember(ctx *pulumi.Context, name string, args *SecretIamMemberArgs, opts ...pulumi.ResourceOption) (*SecretIamMember, error)
NewSecretIamMember registers a new resource with the given unique name, arguments, and options.
func (*SecretIamMember) ElementType ¶
func (*SecretIamMember) ElementType() reflect.Type
func (*SecretIamMember) ToSecretIamMemberOutput ¶
func (i *SecretIamMember) ToSecretIamMemberOutput() SecretIamMemberOutput
func (*SecretIamMember) ToSecretIamMemberOutputWithContext ¶
func (i *SecretIamMember) ToSecretIamMemberOutputWithContext(ctx context.Context) SecretIamMemberOutput
type SecretIamMemberArgs ¶
type SecretIamMemberArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition SecretIamMemberConditionPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput SecretId pulumi.StringInput }
The set of arguments for constructing a SecretIamMember resource.
func (SecretIamMemberArgs) ElementType ¶
func (SecretIamMemberArgs) ElementType() reflect.Type
type SecretIamMemberArray ¶
type SecretIamMemberArray []SecretIamMemberInput
func (SecretIamMemberArray) ElementType ¶
func (SecretIamMemberArray) ElementType() reflect.Type
func (SecretIamMemberArray) ToSecretIamMemberArrayOutput ¶
func (i SecretIamMemberArray) ToSecretIamMemberArrayOutput() SecretIamMemberArrayOutput
func (SecretIamMemberArray) ToSecretIamMemberArrayOutputWithContext ¶
func (i SecretIamMemberArray) ToSecretIamMemberArrayOutputWithContext(ctx context.Context) SecretIamMemberArrayOutput
type SecretIamMemberArrayInput ¶
type SecretIamMemberArrayInput interface { pulumi.Input ToSecretIamMemberArrayOutput() SecretIamMemberArrayOutput ToSecretIamMemberArrayOutputWithContext(context.Context) SecretIamMemberArrayOutput }
SecretIamMemberArrayInput is an input type that accepts SecretIamMemberArray and SecretIamMemberArrayOutput values. You can construct a concrete instance of `SecretIamMemberArrayInput` via:
SecretIamMemberArray{ SecretIamMemberArgs{...} }
type SecretIamMemberArrayOutput ¶
type SecretIamMemberArrayOutput struct{ *pulumi.OutputState }
func (SecretIamMemberArrayOutput) ElementType ¶
func (SecretIamMemberArrayOutput) ElementType() reflect.Type
func (SecretIamMemberArrayOutput) Index ¶
func (o SecretIamMemberArrayOutput) Index(i pulumi.IntInput) SecretIamMemberOutput
func (SecretIamMemberArrayOutput) ToSecretIamMemberArrayOutput ¶
func (o SecretIamMemberArrayOutput) ToSecretIamMemberArrayOutput() SecretIamMemberArrayOutput
func (SecretIamMemberArrayOutput) ToSecretIamMemberArrayOutputWithContext ¶
func (o SecretIamMemberArrayOutput) ToSecretIamMemberArrayOutputWithContext(ctx context.Context) SecretIamMemberArrayOutput
type SecretIamMemberCondition ¶
type SecretIamMemberCondition struct { Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type SecretIamMemberConditionArgs ¶
type SecretIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (SecretIamMemberConditionArgs) ElementType ¶
func (SecretIamMemberConditionArgs) ElementType() reflect.Type
func (SecretIamMemberConditionArgs) ToSecretIamMemberConditionOutput ¶
func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionOutput() SecretIamMemberConditionOutput
func (SecretIamMemberConditionArgs) ToSecretIamMemberConditionOutputWithContext ¶
func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionOutputWithContext(ctx context.Context) SecretIamMemberConditionOutput
func (SecretIamMemberConditionArgs) ToSecretIamMemberConditionPtrOutput ¶
func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput
func (SecretIamMemberConditionArgs) ToSecretIamMemberConditionPtrOutputWithContext ¶
func (i SecretIamMemberConditionArgs) ToSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) SecretIamMemberConditionPtrOutput
type SecretIamMemberConditionInput ¶
type SecretIamMemberConditionInput interface { pulumi.Input ToSecretIamMemberConditionOutput() SecretIamMemberConditionOutput ToSecretIamMemberConditionOutputWithContext(context.Context) SecretIamMemberConditionOutput }
SecretIamMemberConditionInput is an input type that accepts SecretIamMemberConditionArgs and SecretIamMemberConditionOutput values. You can construct a concrete instance of `SecretIamMemberConditionInput` via:
SecretIamMemberConditionArgs{...}
type SecretIamMemberConditionOutput ¶
type SecretIamMemberConditionOutput struct{ *pulumi.OutputState }
func (SecretIamMemberConditionOutput) Description ¶
func (o SecretIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (SecretIamMemberConditionOutput) ElementType ¶
func (SecretIamMemberConditionOutput) ElementType() reflect.Type
func (SecretIamMemberConditionOutput) Expression ¶
func (o SecretIamMemberConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (SecretIamMemberConditionOutput) Title ¶
func (o SecretIamMemberConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (SecretIamMemberConditionOutput) ToSecretIamMemberConditionOutput ¶
func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionOutput() SecretIamMemberConditionOutput
func (SecretIamMemberConditionOutput) ToSecretIamMemberConditionOutputWithContext ¶
func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionOutputWithContext(ctx context.Context) SecretIamMemberConditionOutput
func (SecretIamMemberConditionOutput) ToSecretIamMemberConditionPtrOutput ¶
func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput
func (SecretIamMemberConditionOutput) ToSecretIamMemberConditionPtrOutputWithContext ¶
func (o SecretIamMemberConditionOutput) ToSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) SecretIamMemberConditionPtrOutput
type SecretIamMemberConditionPtrInput ¶
type SecretIamMemberConditionPtrInput interface { pulumi.Input ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput ToSecretIamMemberConditionPtrOutputWithContext(context.Context) SecretIamMemberConditionPtrOutput }
SecretIamMemberConditionPtrInput is an input type that accepts SecretIamMemberConditionArgs, SecretIamMemberConditionPtr and SecretIamMemberConditionPtrOutput values. You can construct a concrete instance of `SecretIamMemberConditionPtrInput` via:
SecretIamMemberConditionArgs{...} or: nil
func SecretIamMemberConditionPtr ¶
func SecretIamMemberConditionPtr(v *SecretIamMemberConditionArgs) SecretIamMemberConditionPtrInput
type SecretIamMemberConditionPtrOutput ¶
type SecretIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (SecretIamMemberConditionPtrOutput) Description ¶
func (o SecretIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (SecretIamMemberConditionPtrOutput) Elem ¶
func (o SecretIamMemberConditionPtrOutput) Elem() SecretIamMemberConditionOutput
func (SecretIamMemberConditionPtrOutput) ElementType ¶
func (SecretIamMemberConditionPtrOutput) ElementType() reflect.Type
func (SecretIamMemberConditionPtrOutput) Expression ¶
func (o SecretIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (SecretIamMemberConditionPtrOutput) Title ¶
func (o SecretIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (SecretIamMemberConditionPtrOutput) ToSecretIamMemberConditionPtrOutput ¶
func (o SecretIamMemberConditionPtrOutput) ToSecretIamMemberConditionPtrOutput() SecretIamMemberConditionPtrOutput
func (SecretIamMemberConditionPtrOutput) ToSecretIamMemberConditionPtrOutputWithContext ¶
func (o SecretIamMemberConditionPtrOutput) ToSecretIamMemberConditionPtrOutputWithContext(ctx context.Context) SecretIamMemberConditionPtrOutput
type SecretIamMemberInput ¶
type SecretIamMemberInput interface { pulumi.Input ToSecretIamMemberOutput() SecretIamMemberOutput ToSecretIamMemberOutputWithContext(ctx context.Context) SecretIamMemberOutput }
type SecretIamMemberMap ¶
type SecretIamMemberMap map[string]SecretIamMemberInput
func (SecretIamMemberMap) ElementType ¶
func (SecretIamMemberMap) ElementType() reflect.Type
func (SecretIamMemberMap) ToSecretIamMemberMapOutput ¶
func (i SecretIamMemberMap) ToSecretIamMemberMapOutput() SecretIamMemberMapOutput
func (SecretIamMemberMap) ToSecretIamMemberMapOutputWithContext ¶
func (i SecretIamMemberMap) ToSecretIamMemberMapOutputWithContext(ctx context.Context) SecretIamMemberMapOutput
type SecretIamMemberMapInput ¶
type SecretIamMemberMapInput interface { pulumi.Input ToSecretIamMemberMapOutput() SecretIamMemberMapOutput ToSecretIamMemberMapOutputWithContext(context.Context) SecretIamMemberMapOutput }
SecretIamMemberMapInput is an input type that accepts SecretIamMemberMap and SecretIamMemberMapOutput values. You can construct a concrete instance of `SecretIamMemberMapInput` via:
SecretIamMemberMap{ "key": SecretIamMemberArgs{...} }
type SecretIamMemberMapOutput ¶
type SecretIamMemberMapOutput struct{ *pulumi.OutputState }
func (SecretIamMemberMapOutput) ElementType ¶
func (SecretIamMemberMapOutput) ElementType() reflect.Type
func (SecretIamMemberMapOutput) MapIndex ¶
func (o SecretIamMemberMapOutput) MapIndex(k pulumi.StringInput) SecretIamMemberOutput
func (SecretIamMemberMapOutput) ToSecretIamMemberMapOutput ¶
func (o SecretIamMemberMapOutput) ToSecretIamMemberMapOutput() SecretIamMemberMapOutput
func (SecretIamMemberMapOutput) ToSecretIamMemberMapOutputWithContext ¶
func (o SecretIamMemberMapOutput) ToSecretIamMemberMapOutputWithContext(ctx context.Context) SecretIamMemberMapOutput
type SecretIamMemberOutput ¶
type SecretIamMemberOutput struct{ *pulumi.OutputState }
func (SecretIamMemberOutput) Condition ¶
func (o SecretIamMemberOutput) Condition() SecretIamMemberConditionPtrOutput
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.
func (SecretIamMemberOutput) ElementType ¶
func (SecretIamMemberOutput) ElementType() reflect.Type
func (SecretIamMemberOutput) Etag ¶
func (o SecretIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (SecretIamMemberOutput) Member ¶
func (o SecretIamMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (SecretIamMemberOutput) Project ¶
func (o SecretIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (SecretIamMemberOutput) Role ¶
func (o SecretIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (SecretIamMemberOutput) SecretId ¶
func (o SecretIamMemberOutput) SecretId() pulumi.StringOutput
func (SecretIamMemberOutput) ToSecretIamMemberOutput ¶
func (o SecretIamMemberOutput) ToSecretIamMemberOutput() SecretIamMemberOutput
func (SecretIamMemberOutput) ToSecretIamMemberOutputWithContext ¶
func (o SecretIamMemberOutput) ToSecretIamMemberOutputWithContext(ctx context.Context) SecretIamMemberOutput
type SecretIamMemberState ¶
type SecretIamMemberState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition SecretIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `secretmanager.SecretIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput SecretId pulumi.StringPtrInput }
func (SecretIamMemberState) ElementType ¶
func (SecretIamMemberState) ElementType() reflect.Type
type SecretIamPolicy ¶
type SecretIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` SecretId pulumi.StringOutput `pulumi:"secretId"` }
Three different resources help you manage your IAM policy for Secret Manager Secret. Each of these resources serves a different use case:
* `secretmanager.SecretIamPolicy`: Authoritative. Sets the IAM policy for the secret and replaces any existing policy already attached. * `secretmanager.SecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the secret are preserved. * `secretmanager.SecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the secret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.SecretIamPolicy`: Retrieves the IAM policy for the secret
> **Note:** `secretmanager.SecretIamPolicy` **cannot** be used in conjunction with `secretmanager.SecretIamBinding` and `secretmanager.SecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.SecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.SecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.SecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Secret Manager Secret Three different resources help you manage your IAM policy for Secret Manager Secret. Each of these resources serves a different use case:
* `secretmanager.SecretIamPolicy`: Authoritative. Sets the IAM policy for the secret and replaces any existing policy already attached. * `secretmanager.SecretIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the secret are preserved. * `secretmanager.SecretIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the secret are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `secretmanager.SecretIamPolicy`: Retrieves the IAM policy for the secret
> **Note:** `secretmanager.SecretIamPolicy` **cannot** be used in conjunction with `secretmanager.SecretIamBinding` and `secretmanager.SecretIamMember` or they will fight over what your policy should be.
> **Note:** `secretmanager.SecretIamBinding` resources **can be** used in conjunction with `secretmanager.SecretIamMember` resources **only if** they do not grant privilege to the same role.
> **Note:** This resource supports IAM Conditions but they have some known limitations which can be found [here](https://cloud.google.com/iam/docs/conditions-overview#limitations). Please review this article if you are having issues with IAM Conditions.
## secretmanager.SecretIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/secretmanager.secretAccessor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "expires_after_2019_12_31", Description: pulumi.StringRef("Expiring at midnight of 2019-12-31"), Expression: "request.time < timestamp(\"2020-01-01T00:00:00Z\")", }, }, }, }, nil) if err != nil { return err } _, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamBinding(ctx, "binding", &secretmanager.SecretIamBindingArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &secretmanager.SecretIamBindingConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
``` ## secretmanager.SecretIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecretIamMember(ctx, "member", &secretmanager.SecretIamMemberArgs{ Project: pulumi.Any(secret_basic.Project), SecretId: pulumi.Any(secret_basic.SecretId), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), Condition: &secretmanager.SecretIamMemberConditionArgs{ Title: pulumi.String("expires_after_2019_12_31"), Description: pulumi.String("Expiring at midnight of 2019-12-31"), Expression: pulumi.String("request.time < timestamp(\"2020-01-01T00:00:00Z\")"), }, }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/secrets/{{secret_id}}
* {{project}}/{{secret_id}}
* {{secret_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Secret Manager secret IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamPolicy:SecretIamPolicy editor "projects/{{project}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamPolicy:SecretIamPolicy editor "projects/{{project}}/secrets/{{secret_id}} roles/secretmanager.secretAccessor" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:secretmanager/secretIamPolicy:SecretIamPolicy editor projects/{{project}}/secrets/{{secret_id}} ```
-> **Custom Roles** If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetSecretIamPolicy ¶
func GetSecretIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretIamPolicyState, opts ...pulumi.ResourceOption) (*SecretIamPolicy, error)
GetSecretIamPolicy gets an existing SecretIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecretIamPolicy ¶
func NewSecretIamPolicy(ctx *pulumi.Context, name string, args *SecretIamPolicyArgs, opts ...pulumi.ResourceOption) (*SecretIamPolicy, error)
NewSecretIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*SecretIamPolicy) ElementType ¶
func (*SecretIamPolicy) ElementType() reflect.Type
func (*SecretIamPolicy) ToSecretIamPolicyOutput ¶
func (i *SecretIamPolicy) ToSecretIamPolicyOutput() SecretIamPolicyOutput
func (*SecretIamPolicy) ToSecretIamPolicyOutputWithContext ¶
func (i *SecretIamPolicy) ToSecretIamPolicyOutputWithContext(ctx context.Context) SecretIamPolicyOutput
type SecretIamPolicyArgs ¶
type SecretIamPolicyArgs struct { // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput SecretId pulumi.StringInput }
The set of arguments for constructing a SecretIamPolicy resource.
func (SecretIamPolicyArgs) ElementType ¶
func (SecretIamPolicyArgs) ElementType() reflect.Type
type SecretIamPolicyArray ¶
type SecretIamPolicyArray []SecretIamPolicyInput
func (SecretIamPolicyArray) ElementType ¶
func (SecretIamPolicyArray) ElementType() reflect.Type
func (SecretIamPolicyArray) ToSecretIamPolicyArrayOutput ¶
func (i SecretIamPolicyArray) ToSecretIamPolicyArrayOutput() SecretIamPolicyArrayOutput
func (SecretIamPolicyArray) ToSecretIamPolicyArrayOutputWithContext ¶
func (i SecretIamPolicyArray) ToSecretIamPolicyArrayOutputWithContext(ctx context.Context) SecretIamPolicyArrayOutput
type SecretIamPolicyArrayInput ¶
type SecretIamPolicyArrayInput interface { pulumi.Input ToSecretIamPolicyArrayOutput() SecretIamPolicyArrayOutput ToSecretIamPolicyArrayOutputWithContext(context.Context) SecretIamPolicyArrayOutput }
SecretIamPolicyArrayInput is an input type that accepts SecretIamPolicyArray and SecretIamPolicyArrayOutput values. You can construct a concrete instance of `SecretIamPolicyArrayInput` via:
SecretIamPolicyArray{ SecretIamPolicyArgs{...} }
type SecretIamPolicyArrayOutput ¶
type SecretIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (SecretIamPolicyArrayOutput) ElementType ¶
func (SecretIamPolicyArrayOutput) ElementType() reflect.Type
func (SecretIamPolicyArrayOutput) Index ¶
func (o SecretIamPolicyArrayOutput) Index(i pulumi.IntInput) SecretIamPolicyOutput
func (SecretIamPolicyArrayOutput) ToSecretIamPolicyArrayOutput ¶
func (o SecretIamPolicyArrayOutput) ToSecretIamPolicyArrayOutput() SecretIamPolicyArrayOutput
func (SecretIamPolicyArrayOutput) ToSecretIamPolicyArrayOutputWithContext ¶
func (o SecretIamPolicyArrayOutput) ToSecretIamPolicyArrayOutputWithContext(ctx context.Context) SecretIamPolicyArrayOutput
type SecretIamPolicyInput ¶
type SecretIamPolicyInput interface { pulumi.Input ToSecretIamPolicyOutput() SecretIamPolicyOutput ToSecretIamPolicyOutputWithContext(ctx context.Context) SecretIamPolicyOutput }
type SecretIamPolicyMap ¶
type SecretIamPolicyMap map[string]SecretIamPolicyInput
func (SecretIamPolicyMap) ElementType ¶
func (SecretIamPolicyMap) ElementType() reflect.Type
func (SecretIamPolicyMap) ToSecretIamPolicyMapOutput ¶
func (i SecretIamPolicyMap) ToSecretIamPolicyMapOutput() SecretIamPolicyMapOutput
func (SecretIamPolicyMap) ToSecretIamPolicyMapOutputWithContext ¶
func (i SecretIamPolicyMap) ToSecretIamPolicyMapOutputWithContext(ctx context.Context) SecretIamPolicyMapOutput
type SecretIamPolicyMapInput ¶
type SecretIamPolicyMapInput interface { pulumi.Input ToSecretIamPolicyMapOutput() SecretIamPolicyMapOutput ToSecretIamPolicyMapOutputWithContext(context.Context) SecretIamPolicyMapOutput }
SecretIamPolicyMapInput is an input type that accepts SecretIamPolicyMap and SecretIamPolicyMapOutput values. You can construct a concrete instance of `SecretIamPolicyMapInput` via:
SecretIamPolicyMap{ "key": SecretIamPolicyArgs{...} }
type SecretIamPolicyMapOutput ¶
type SecretIamPolicyMapOutput struct{ *pulumi.OutputState }
func (SecretIamPolicyMapOutput) ElementType ¶
func (SecretIamPolicyMapOutput) ElementType() reflect.Type
func (SecretIamPolicyMapOutput) MapIndex ¶
func (o SecretIamPolicyMapOutput) MapIndex(k pulumi.StringInput) SecretIamPolicyOutput
func (SecretIamPolicyMapOutput) ToSecretIamPolicyMapOutput ¶
func (o SecretIamPolicyMapOutput) ToSecretIamPolicyMapOutput() SecretIamPolicyMapOutput
func (SecretIamPolicyMapOutput) ToSecretIamPolicyMapOutputWithContext ¶
func (o SecretIamPolicyMapOutput) ToSecretIamPolicyMapOutputWithContext(ctx context.Context) SecretIamPolicyMapOutput
type SecretIamPolicyOutput ¶
type SecretIamPolicyOutput struct{ *pulumi.OutputState }
func (SecretIamPolicyOutput) ElementType ¶
func (SecretIamPolicyOutput) ElementType() reflect.Type
func (SecretIamPolicyOutput) Etag ¶
func (o SecretIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (SecretIamPolicyOutput) PolicyData ¶
func (o SecretIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (SecretIamPolicyOutput) Project ¶
func (o SecretIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (SecretIamPolicyOutput) SecretId ¶
func (o SecretIamPolicyOutput) SecretId() pulumi.StringOutput
func (SecretIamPolicyOutput) ToSecretIamPolicyOutput ¶
func (o SecretIamPolicyOutput) ToSecretIamPolicyOutput() SecretIamPolicyOutput
func (SecretIamPolicyOutput) ToSecretIamPolicyOutputWithContext ¶
func (o SecretIamPolicyOutput) ToSecretIamPolicyOutputWithContext(ctx context.Context) SecretIamPolicyOutput
type SecretIamPolicyState ¶
type SecretIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput SecretId pulumi.StringPtrInput }
func (SecretIamPolicyState) ElementType ¶
func (SecretIamPolicyState) ElementType() reflect.Type
type SecretInput ¶
type SecretInput interface { pulumi.Input ToSecretOutput() SecretOutput ToSecretOutputWithContext(ctx context.Context) SecretOutput }
type SecretMap ¶
type SecretMap map[string]SecretInput
func (SecretMap) ElementType ¶
func (SecretMap) ToSecretMapOutput ¶
func (i SecretMap) ToSecretMapOutput() SecretMapOutput
func (SecretMap) ToSecretMapOutputWithContext ¶
func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
type SecretMapInput ¶
type SecretMapInput interface { pulumi.Input ToSecretMapOutput() SecretMapOutput ToSecretMapOutputWithContext(context.Context) SecretMapOutput }
SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. You can construct a concrete instance of `SecretMapInput` via:
SecretMap{ "key": SecretArgs{...} }
type SecretMapOutput ¶
type SecretMapOutput struct{ *pulumi.OutputState }
func (SecretMapOutput) ElementType ¶
func (SecretMapOutput) ElementType() reflect.Type
func (SecretMapOutput) MapIndex ¶
func (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput
func (SecretMapOutput) ToSecretMapOutput ¶
func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput
func (SecretMapOutput) ToSecretMapOutputWithContext ¶
func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
type SecretOutput ¶
type SecretOutput struct{ *pulumi.OutputState }
func (SecretOutput) Annotations ¶
func (o SecretOutput) Annotations() pulumi.StringMapOutput
Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations present on the resource.
func (SecretOutput) CreateTime ¶
func (o SecretOutput) CreateTime() pulumi.StringOutput
The time at which the Secret was created.
func (SecretOutput) EffectiveAnnotations ¶
func (o SecretOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (SecretOutput) EffectiveLabels ¶
func (o SecretOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (SecretOutput) ElementType ¶
func (SecretOutput) ElementType() reflect.Type
func (SecretOutput) ExpireTime ¶
func (o SecretOutput) ExpireTime() pulumi.StringOutput
Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of 'expire_time' or 'ttl' can be provided.
func (SecretOutput) Labels ¶
func (o SecretOutput) Labels() pulumi.StringMapOutput
The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
func (SecretOutput) Name ¶
func (o SecretOutput) Name() pulumi.StringOutput
The resource name of the Secret. Format: `projects/{{project}}/secrets/{{secret_id}}`
func (SecretOutput) Project ¶
func (o SecretOutput) Project() pulumi.StringOutput
func (SecretOutput) PulumiLabels ¶
func (o SecretOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (SecretOutput) Replication ¶
func (o SecretOutput) Replication() SecretReplicationOutput
The replication policy of the secret data attached to the Secret. It cannot be changed after the Secret has been created. Structure is documented below.
func (SecretOutput) Rotation ¶
func (o SecretOutput) Rotation() SecretRotationPtrOutput
The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to the topics configured on the Secret. 'topics' must be set to configure rotation.
func (SecretOutput) SecretId ¶
func (o SecretOutput) SecretId() pulumi.StringOutput
This must be unique within the project.
func (SecretOutput) ToSecretOutput ¶
func (o SecretOutput) ToSecretOutput() SecretOutput
func (SecretOutput) ToSecretOutputWithContext ¶
func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
func (SecretOutput) Topics ¶
func (o SecretOutput) Topics() SecretTopicArrayOutput
A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret or its versions.
func (SecretOutput) Ttl ¶
func (o SecretOutput) Ttl() pulumi.StringPtrOutput
The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided.
func (SecretOutput) VersionAliases ¶
func (o SecretOutput) VersionAliases() pulumi.StringMapOutput
Mapping from version alias to version name. A version alias is a string with a maximum length of 63 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
func (SecretOutput) VersionDestroyTtl ¶
func (o SecretOutput) VersionDestroyTtl() pulumi.StringPtrOutput
Secret Version TTL after destruction request. This is a part of the delayed delete feature on Secret Version. For secret with versionDestroyTtl>0, version destruction doesn't happen immediately on calling destroy instead the version goes to a disabled state and the actual destruction happens after this TTL expires.
type SecretReplication ¶
type SecretReplication struct { // The Secret will automatically be replicated without any restrictions. // Structure is documented below. Auto *SecretReplicationAuto `pulumi:"auto"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. UserManaged *SecretReplicationUserManaged `pulumi:"userManaged"` }
type SecretReplicationArgs ¶
type SecretReplicationArgs struct { // The Secret will automatically be replicated without any restrictions. // Structure is documented below. Auto SecretReplicationAutoPtrInput `pulumi:"auto"` // The Secret will be replicated to the regions specified by the user. // Structure is documented below. UserManaged SecretReplicationUserManagedPtrInput `pulumi:"userManaged"` }
func (SecretReplicationArgs) ElementType ¶
func (SecretReplicationArgs) ElementType() reflect.Type
func (SecretReplicationArgs) ToSecretReplicationOutput ¶
func (i SecretReplicationArgs) ToSecretReplicationOutput() SecretReplicationOutput
func (SecretReplicationArgs) ToSecretReplicationOutputWithContext ¶
func (i SecretReplicationArgs) ToSecretReplicationOutputWithContext(ctx context.Context) SecretReplicationOutput
func (SecretReplicationArgs) ToSecretReplicationPtrOutput ¶
func (i SecretReplicationArgs) ToSecretReplicationPtrOutput() SecretReplicationPtrOutput
func (SecretReplicationArgs) ToSecretReplicationPtrOutputWithContext ¶
func (i SecretReplicationArgs) ToSecretReplicationPtrOutputWithContext(ctx context.Context) SecretReplicationPtrOutput
type SecretReplicationAuto ¶
type SecretReplicationAuto struct { // The customer-managed encryption configuration of the Secret. // If no configuration is provided, Google-managed default // encryption is used. // Structure is documented below. CustomerManagedEncryption *SecretReplicationAutoCustomerManagedEncryption `pulumi:"customerManagedEncryption"` }
type SecretReplicationAutoArgs ¶
type SecretReplicationAutoArgs struct { // The customer-managed encryption configuration of the Secret. // If no configuration is provided, Google-managed default // encryption is used. // Structure is documented below. CustomerManagedEncryption SecretReplicationAutoCustomerManagedEncryptionPtrInput `pulumi:"customerManagedEncryption"` }
func (SecretReplicationAutoArgs) ElementType ¶
func (SecretReplicationAutoArgs) ElementType() reflect.Type
func (SecretReplicationAutoArgs) ToSecretReplicationAutoOutput ¶
func (i SecretReplicationAutoArgs) ToSecretReplicationAutoOutput() SecretReplicationAutoOutput
func (SecretReplicationAutoArgs) ToSecretReplicationAutoOutputWithContext ¶
func (i SecretReplicationAutoArgs) ToSecretReplicationAutoOutputWithContext(ctx context.Context) SecretReplicationAutoOutput
func (SecretReplicationAutoArgs) ToSecretReplicationAutoPtrOutput ¶
func (i SecretReplicationAutoArgs) ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput
func (SecretReplicationAutoArgs) ToSecretReplicationAutoPtrOutputWithContext ¶
func (i SecretReplicationAutoArgs) ToSecretReplicationAutoPtrOutputWithContext(ctx context.Context) SecretReplicationAutoPtrOutput
type SecretReplicationAutoCustomerManagedEncryption ¶
type SecretReplicationAutoCustomerManagedEncryption struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. // // *** KmsKeyName string `pulumi:"kmsKeyName"` }
type SecretReplicationAutoCustomerManagedEncryptionArgs ¶
type SecretReplicationAutoCustomerManagedEncryptionArgs struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. // // *** KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (SecretReplicationAutoCustomerManagedEncryptionArgs) ElementType ¶
func (SecretReplicationAutoCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionOutput ¶
func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionOutput() SecretReplicationAutoCustomerManagedEncryptionOutput
func (SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext ¶
func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionOutput
func (SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput ¶
func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
func (SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext ¶
func (i SecretReplicationAutoCustomerManagedEncryptionArgs) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput
type SecretReplicationAutoCustomerManagedEncryptionInput ¶
type SecretReplicationAutoCustomerManagedEncryptionInput interface { pulumi.Input ToSecretReplicationAutoCustomerManagedEncryptionOutput() SecretReplicationAutoCustomerManagedEncryptionOutput ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(context.Context) SecretReplicationAutoCustomerManagedEncryptionOutput }
SecretReplicationAutoCustomerManagedEncryptionInput is an input type that accepts SecretReplicationAutoCustomerManagedEncryptionArgs and SecretReplicationAutoCustomerManagedEncryptionOutput values. You can construct a concrete instance of `SecretReplicationAutoCustomerManagedEncryptionInput` via:
SecretReplicationAutoCustomerManagedEncryptionArgs{...}
type SecretReplicationAutoCustomerManagedEncryptionOutput ¶
type SecretReplicationAutoCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (SecretReplicationAutoCustomerManagedEncryptionOutput) ElementType ¶
func (SecretReplicationAutoCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (SecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName ¶
func (o SecretReplicationAutoCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
***
func (SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionOutput ¶
func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionOutput() SecretReplicationAutoCustomerManagedEncryptionOutput
func (SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext ¶
func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionOutput
func (SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput ¶
func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
func (SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext ¶
func (o SecretReplicationAutoCustomerManagedEncryptionOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput
type SecretReplicationAutoCustomerManagedEncryptionPtrInput ¶
type SecretReplicationAutoCustomerManagedEncryptionPtrInput interface { pulumi.Input ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput }
SecretReplicationAutoCustomerManagedEncryptionPtrInput is an input type that accepts SecretReplicationAutoCustomerManagedEncryptionArgs, SecretReplicationAutoCustomerManagedEncryptionPtr and SecretReplicationAutoCustomerManagedEncryptionPtrOutput values. You can construct a concrete instance of `SecretReplicationAutoCustomerManagedEncryptionPtrInput` via:
SecretReplicationAutoCustomerManagedEncryptionArgs{...} or: nil
func SecretReplicationAutoCustomerManagedEncryptionPtr ¶
func SecretReplicationAutoCustomerManagedEncryptionPtr(v *SecretReplicationAutoCustomerManagedEncryptionArgs) SecretReplicationAutoCustomerManagedEncryptionPtrInput
type SecretReplicationAutoCustomerManagedEncryptionPtrOutput ¶
type SecretReplicationAutoCustomerManagedEncryptionPtrOutput struct{ *pulumi.OutputState }
func (SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ElementType ¶
func (SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ElementType() reflect.Type
func (SecretReplicationAutoCustomerManagedEncryptionPtrOutput) KmsKeyName ¶
func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) KmsKeyName() pulumi.StringPtrOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
***
func (SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput ¶
func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutput() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
func (SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext ¶
func (o SecretReplicationAutoCustomerManagedEncryptionPtrOutput) ToSecretReplicationAutoCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationAutoCustomerManagedEncryptionPtrOutput
type SecretReplicationAutoInput ¶
type SecretReplicationAutoInput interface { pulumi.Input ToSecretReplicationAutoOutput() SecretReplicationAutoOutput ToSecretReplicationAutoOutputWithContext(context.Context) SecretReplicationAutoOutput }
SecretReplicationAutoInput is an input type that accepts SecretReplicationAutoArgs and SecretReplicationAutoOutput values. You can construct a concrete instance of `SecretReplicationAutoInput` via:
SecretReplicationAutoArgs{...}
type SecretReplicationAutoOutput ¶
type SecretReplicationAutoOutput struct{ *pulumi.OutputState }
func (SecretReplicationAutoOutput) CustomerManagedEncryption ¶
func (o SecretReplicationAutoOutput) CustomerManagedEncryption() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used. Structure is documented below.
func (SecretReplicationAutoOutput) ElementType ¶
func (SecretReplicationAutoOutput) ElementType() reflect.Type
func (SecretReplicationAutoOutput) ToSecretReplicationAutoOutput ¶
func (o SecretReplicationAutoOutput) ToSecretReplicationAutoOutput() SecretReplicationAutoOutput
func (SecretReplicationAutoOutput) ToSecretReplicationAutoOutputWithContext ¶
func (o SecretReplicationAutoOutput) ToSecretReplicationAutoOutputWithContext(ctx context.Context) SecretReplicationAutoOutput
func (SecretReplicationAutoOutput) ToSecretReplicationAutoPtrOutput ¶
func (o SecretReplicationAutoOutput) ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput
func (SecretReplicationAutoOutput) ToSecretReplicationAutoPtrOutputWithContext ¶
func (o SecretReplicationAutoOutput) ToSecretReplicationAutoPtrOutputWithContext(ctx context.Context) SecretReplicationAutoPtrOutput
type SecretReplicationAutoPtrInput ¶
type SecretReplicationAutoPtrInput interface { pulumi.Input ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput ToSecretReplicationAutoPtrOutputWithContext(context.Context) SecretReplicationAutoPtrOutput }
SecretReplicationAutoPtrInput is an input type that accepts SecretReplicationAutoArgs, SecretReplicationAutoPtr and SecretReplicationAutoPtrOutput values. You can construct a concrete instance of `SecretReplicationAutoPtrInput` via:
SecretReplicationAutoArgs{...} or: nil
func SecretReplicationAutoPtr ¶
func SecretReplicationAutoPtr(v *SecretReplicationAutoArgs) SecretReplicationAutoPtrInput
type SecretReplicationAutoPtrOutput ¶
type SecretReplicationAutoPtrOutput struct{ *pulumi.OutputState }
func (SecretReplicationAutoPtrOutput) CustomerManagedEncryption ¶
func (o SecretReplicationAutoPtrOutput) CustomerManagedEncryption() SecretReplicationAutoCustomerManagedEncryptionPtrOutput
The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used. Structure is documented below.
func (SecretReplicationAutoPtrOutput) Elem ¶
func (o SecretReplicationAutoPtrOutput) Elem() SecretReplicationAutoOutput
func (SecretReplicationAutoPtrOutput) ElementType ¶
func (SecretReplicationAutoPtrOutput) ElementType() reflect.Type
func (SecretReplicationAutoPtrOutput) ToSecretReplicationAutoPtrOutput ¶
func (o SecretReplicationAutoPtrOutput) ToSecretReplicationAutoPtrOutput() SecretReplicationAutoPtrOutput
func (SecretReplicationAutoPtrOutput) ToSecretReplicationAutoPtrOutputWithContext ¶
func (o SecretReplicationAutoPtrOutput) ToSecretReplicationAutoPtrOutputWithContext(ctx context.Context) SecretReplicationAutoPtrOutput
type SecretReplicationInput ¶
type SecretReplicationInput interface { pulumi.Input ToSecretReplicationOutput() SecretReplicationOutput ToSecretReplicationOutputWithContext(context.Context) SecretReplicationOutput }
SecretReplicationInput is an input type that accepts SecretReplicationArgs and SecretReplicationOutput values. You can construct a concrete instance of `SecretReplicationInput` via:
SecretReplicationArgs{...}
type SecretReplicationOutput ¶
type SecretReplicationOutput struct{ *pulumi.OutputState }
func (SecretReplicationOutput) Auto ¶
func (o SecretReplicationOutput) Auto() SecretReplicationAutoPtrOutput
The Secret will automatically be replicated without any restrictions. Structure is documented below.
func (SecretReplicationOutput) ElementType ¶
func (SecretReplicationOutput) ElementType() reflect.Type
func (SecretReplicationOutput) ToSecretReplicationOutput ¶
func (o SecretReplicationOutput) ToSecretReplicationOutput() SecretReplicationOutput
func (SecretReplicationOutput) ToSecretReplicationOutputWithContext ¶
func (o SecretReplicationOutput) ToSecretReplicationOutputWithContext(ctx context.Context) SecretReplicationOutput
func (SecretReplicationOutput) ToSecretReplicationPtrOutput ¶
func (o SecretReplicationOutput) ToSecretReplicationPtrOutput() SecretReplicationPtrOutput
func (SecretReplicationOutput) ToSecretReplicationPtrOutputWithContext ¶
func (o SecretReplicationOutput) ToSecretReplicationPtrOutputWithContext(ctx context.Context) SecretReplicationPtrOutput
func (SecretReplicationOutput) UserManaged ¶
func (o SecretReplicationOutput) UserManaged() SecretReplicationUserManagedPtrOutput
The Secret will be replicated to the regions specified by the user. Structure is documented below.
type SecretReplicationPtrInput ¶
type SecretReplicationPtrInput interface { pulumi.Input ToSecretReplicationPtrOutput() SecretReplicationPtrOutput ToSecretReplicationPtrOutputWithContext(context.Context) SecretReplicationPtrOutput }
SecretReplicationPtrInput is an input type that accepts SecretReplicationArgs, SecretReplicationPtr and SecretReplicationPtrOutput values. You can construct a concrete instance of `SecretReplicationPtrInput` via:
SecretReplicationArgs{...} or: nil
func SecretReplicationPtr ¶
func SecretReplicationPtr(v *SecretReplicationArgs) SecretReplicationPtrInput
type SecretReplicationPtrOutput ¶
type SecretReplicationPtrOutput struct{ *pulumi.OutputState }
func (SecretReplicationPtrOutput) Auto ¶
func (o SecretReplicationPtrOutput) Auto() SecretReplicationAutoPtrOutput
The Secret will automatically be replicated without any restrictions. Structure is documented below.
func (SecretReplicationPtrOutput) Elem ¶
func (o SecretReplicationPtrOutput) Elem() SecretReplicationOutput
func (SecretReplicationPtrOutput) ElementType ¶
func (SecretReplicationPtrOutput) ElementType() reflect.Type
func (SecretReplicationPtrOutput) ToSecretReplicationPtrOutput ¶
func (o SecretReplicationPtrOutput) ToSecretReplicationPtrOutput() SecretReplicationPtrOutput
func (SecretReplicationPtrOutput) ToSecretReplicationPtrOutputWithContext ¶
func (o SecretReplicationPtrOutput) ToSecretReplicationPtrOutputWithContext(ctx context.Context) SecretReplicationPtrOutput
func (SecretReplicationPtrOutput) UserManaged ¶
func (o SecretReplicationPtrOutput) UserManaged() SecretReplicationUserManagedPtrOutput
The Secret will be replicated to the regions specified by the user. Structure is documented below.
type SecretReplicationUserManaged ¶
type SecretReplicationUserManaged struct { // The list of Replicas for this Secret. Cannot be empty. // Structure is documented below. Replicas []SecretReplicationUserManagedReplica `pulumi:"replicas"` }
type SecretReplicationUserManagedArgs ¶
type SecretReplicationUserManagedArgs struct { // The list of Replicas for this Secret. Cannot be empty. // Structure is documented below. Replicas SecretReplicationUserManagedReplicaArrayInput `pulumi:"replicas"` }
func (SecretReplicationUserManagedArgs) ElementType ¶
func (SecretReplicationUserManagedArgs) ElementType() reflect.Type
func (SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedOutput ¶
func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedOutput() SecretReplicationUserManagedOutput
func (SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedOutputWithContext ¶
func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedOutputWithContext(ctx context.Context) SecretReplicationUserManagedOutput
func (SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedPtrOutput ¶
func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput
func (SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedPtrOutputWithContext ¶
func (i SecretReplicationUserManagedArgs) ToSecretReplicationUserManagedPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedPtrOutput
type SecretReplicationUserManagedInput ¶
type SecretReplicationUserManagedInput interface { pulumi.Input ToSecretReplicationUserManagedOutput() SecretReplicationUserManagedOutput ToSecretReplicationUserManagedOutputWithContext(context.Context) SecretReplicationUserManagedOutput }
SecretReplicationUserManagedInput is an input type that accepts SecretReplicationUserManagedArgs and SecretReplicationUserManagedOutput values. You can construct a concrete instance of `SecretReplicationUserManagedInput` via:
SecretReplicationUserManagedArgs{...}
type SecretReplicationUserManagedOutput ¶
type SecretReplicationUserManagedOutput struct{ *pulumi.OutputState }
func (SecretReplicationUserManagedOutput) ElementType ¶
func (SecretReplicationUserManagedOutput) ElementType() reflect.Type
func (SecretReplicationUserManagedOutput) Replicas ¶
func (o SecretReplicationUserManagedOutput) Replicas() SecretReplicationUserManagedReplicaArrayOutput
The list of Replicas for this Secret. Cannot be empty. Structure is documented below.
func (SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedOutput ¶
func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedOutput() SecretReplicationUserManagedOutput
func (SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedOutputWithContext ¶
func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedOutputWithContext(ctx context.Context) SecretReplicationUserManagedOutput
func (SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedPtrOutput ¶
func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput
func (SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedPtrOutputWithContext ¶
func (o SecretReplicationUserManagedOutput) ToSecretReplicationUserManagedPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedPtrOutput
type SecretReplicationUserManagedPtrInput ¶
type SecretReplicationUserManagedPtrInput interface { pulumi.Input ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput ToSecretReplicationUserManagedPtrOutputWithContext(context.Context) SecretReplicationUserManagedPtrOutput }
SecretReplicationUserManagedPtrInput is an input type that accepts SecretReplicationUserManagedArgs, SecretReplicationUserManagedPtr and SecretReplicationUserManagedPtrOutput values. You can construct a concrete instance of `SecretReplicationUserManagedPtrInput` via:
SecretReplicationUserManagedArgs{...} or: nil
func SecretReplicationUserManagedPtr ¶
func SecretReplicationUserManagedPtr(v *SecretReplicationUserManagedArgs) SecretReplicationUserManagedPtrInput
type SecretReplicationUserManagedPtrOutput ¶
type SecretReplicationUserManagedPtrOutput struct{ *pulumi.OutputState }
func (SecretReplicationUserManagedPtrOutput) ElementType ¶
func (SecretReplicationUserManagedPtrOutput) ElementType() reflect.Type
func (SecretReplicationUserManagedPtrOutput) Replicas ¶
func (o SecretReplicationUserManagedPtrOutput) Replicas() SecretReplicationUserManagedReplicaArrayOutput
The list of Replicas for this Secret. Cannot be empty. Structure is documented below.
func (SecretReplicationUserManagedPtrOutput) ToSecretReplicationUserManagedPtrOutput ¶
func (o SecretReplicationUserManagedPtrOutput) ToSecretReplicationUserManagedPtrOutput() SecretReplicationUserManagedPtrOutput
func (SecretReplicationUserManagedPtrOutput) ToSecretReplicationUserManagedPtrOutputWithContext ¶
func (o SecretReplicationUserManagedPtrOutput) ToSecretReplicationUserManagedPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedPtrOutput
type SecretReplicationUserManagedReplica ¶
type SecretReplicationUserManagedReplica struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryption *SecretReplicationUserManagedReplicaCustomerManagedEncryption `pulumi:"customerManagedEncryption"` // The canonical IDs of the location to replicate data. For example: "us-east1". Location string `pulumi:"location"` }
type SecretReplicationUserManagedReplicaArgs ¶
type SecretReplicationUserManagedReplicaArgs struct { // Customer Managed Encryption for the secret. // Structure is documented below. CustomerManagedEncryption SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput `pulumi:"customerManagedEncryption"` // The canonical IDs of the location to replicate data. For example: "us-east1". Location pulumi.StringInput `pulumi:"location"` }
func (SecretReplicationUserManagedReplicaArgs) ElementType ¶
func (SecretReplicationUserManagedReplicaArgs) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaArgs) ToSecretReplicationUserManagedReplicaOutput ¶
func (i SecretReplicationUserManagedReplicaArgs) ToSecretReplicationUserManagedReplicaOutput() SecretReplicationUserManagedReplicaOutput
func (SecretReplicationUserManagedReplicaArgs) ToSecretReplicationUserManagedReplicaOutputWithContext ¶
func (i SecretReplicationUserManagedReplicaArgs) ToSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaOutput
type SecretReplicationUserManagedReplicaArray ¶
type SecretReplicationUserManagedReplicaArray []SecretReplicationUserManagedReplicaInput
func (SecretReplicationUserManagedReplicaArray) ElementType ¶
func (SecretReplicationUserManagedReplicaArray) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaArray) ToSecretReplicationUserManagedReplicaArrayOutput ¶
func (i SecretReplicationUserManagedReplicaArray) ToSecretReplicationUserManagedReplicaArrayOutput() SecretReplicationUserManagedReplicaArrayOutput
func (SecretReplicationUserManagedReplicaArray) ToSecretReplicationUserManagedReplicaArrayOutputWithContext ¶
func (i SecretReplicationUserManagedReplicaArray) ToSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaArrayOutput
type SecretReplicationUserManagedReplicaArrayInput ¶
type SecretReplicationUserManagedReplicaArrayInput interface { pulumi.Input ToSecretReplicationUserManagedReplicaArrayOutput() SecretReplicationUserManagedReplicaArrayOutput ToSecretReplicationUserManagedReplicaArrayOutputWithContext(context.Context) SecretReplicationUserManagedReplicaArrayOutput }
SecretReplicationUserManagedReplicaArrayInput is an input type that accepts SecretReplicationUserManagedReplicaArray and SecretReplicationUserManagedReplicaArrayOutput values. You can construct a concrete instance of `SecretReplicationUserManagedReplicaArrayInput` via:
SecretReplicationUserManagedReplicaArray{ SecretReplicationUserManagedReplicaArgs{...} }
type SecretReplicationUserManagedReplicaArrayOutput ¶
type SecretReplicationUserManagedReplicaArrayOutput struct{ *pulumi.OutputState }
func (SecretReplicationUserManagedReplicaArrayOutput) ElementType ¶
func (SecretReplicationUserManagedReplicaArrayOutput) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaArrayOutput) ToSecretReplicationUserManagedReplicaArrayOutput ¶
func (o SecretReplicationUserManagedReplicaArrayOutput) ToSecretReplicationUserManagedReplicaArrayOutput() SecretReplicationUserManagedReplicaArrayOutput
func (SecretReplicationUserManagedReplicaArrayOutput) ToSecretReplicationUserManagedReplicaArrayOutputWithContext ¶
func (o SecretReplicationUserManagedReplicaArrayOutput) ToSecretReplicationUserManagedReplicaArrayOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaArrayOutput
type SecretReplicationUserManagedReplicaCustomerManagedEncryption ¶
type SecretReplicationUserManagedReplicaCustomerManagedEncryption struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. // // *** KmsKeyName string `pulumi:"kmsKeyName"` }
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs ¶
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs struct { // Describes the Cloud KMS encryption key that will be used to protect destination secret. // // *** KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` }
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType ¶
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext ¶
func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput ¶
func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext ¶
func (i SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionInput ¶
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionInput interface { pulumi.Input ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput }
SecretReplicationUserManagedReplicaCustomerManagedEncryptionInput is an input type that accepts SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs and SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput values. You can construct a concrete instance of `SecretReplicationUserManagedReplicaCustomerManagedEncryptionInput` via:
SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs{...}
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput struct{ *pulumi.OutputState }
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType ¶
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) KmsKeyName() pulumi.StringOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
***
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput ¶
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput interface { pulumi.Input ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput }
SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput is an input type that accepts SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs, SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtr and SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput values. You can construct a concrete instance of `SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput` via:
SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs{...} or: nil
func SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtr ¶
func SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtr(v *SecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrInput
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput ¶
type SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput struct{ *pulumi.OutputState }
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ElementType ¶
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) KmsKeyName ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) KmsKeyName() pulumi.StringPtrOutput
Describes the Cloud KMS encryption key that will be used to protect destination secret.
***
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
func (SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext ¶
func (o SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput) ToSecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
type SecretReplicationUserManagedReplicaInput ¶
type SecretReplicationUserManagedReplicaInput interface { pulumi.Input ToSecretReplicationUserManagedReplicaOutput() SecretReplicationUserManagedReplicaOutput ToSecretReplicationUserManagedReplicaOutputWithContext(context.Context) SecretReplicationUserManagedReplicaOutput }
SecretReplicationUserManagedReplicaInput is an input type that accepts SecretReplicationUserManagedReplicaArgs and SecretReplicationUserManagedReplicaOutput values. You can construct a concrete instance of `SecretReplicationUserManagedReplicaInput` via:
SecretReplicationUserManagedReplicaArgs{...}
type SecretReplicationUserManagedReplicaOutput ¶
type SecretReplicationUserManagedReplicaOutput struct{ *pulumi.OutputState }
func (SecretReplicationUserManagedReplicaOutput) CustomerManagedEncryption ¶
func (o SecretReplicationUserManagedReplicaOutput) CustomerManagedEncryption() SecretReplicationUserManagedReplicaCustomerManagedEncryptionPtrOutput
Customer Managed Encryption for the secret. Structure is documented below.
func (SecretReplicationUserManagedReplicaOutput) ElementType ¶
func (SecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
func (SecretReplicationUserManagedReplicaOutput) Location ¶
func (o SecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
The canonical IDs of the location to replicate data. For example: "us-east1".
func (SecretReplicationUserManagedReplicaOutput) ToSecretReplicationUserManagedReplicaOutput ¶
func (o SecretReplicationUserManagedReplicaOutput) ToSecretReplicationUserManagedReplicaOutput() SecretReplicationUserManagedReplicaOutput
func (SecretReplicationUserManagedReplicaOutput) ToSecretReplicationUserManagedReplicaOutputWithContext ¶
func (o SecretReplicationUserManagedReplicaOutput) ToSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) SecretReplicationUserManagedReplicaOutput
type SecretRotation ¶
type SecretRotation struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime *string `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, `nextRotationTime` must be set. `nextRotationTime` will be advanced by this period when the service automatically sends rotation notifications. RotationPeriod *string `pulumi:"rotationPeriod"` }
type SecretRotationArgs ¶
type SecretRotationArgs struct { // Timestamp in UTC at which the Secret is scheduled to rotate. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". NextRotationTime pulumi.StringPtrInput `pulumi:"nextRotationTime"` // The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). // If rotationPeriod is set, `nextRotationTime` must be set. `nextRotationTime` will be advanced by this period when the service automatically sends rotation notifications. RotationPeriod pulumi.StringPtrInput `pulumi:"rotationPeriod"` }
func (SecretRotationArgs) ElementType ¶
func (SecretRotationArgs) ElementType() reflect.Type
func (SecretRotationArgs) ToSecretRotationOutput ¶
func (i SecretRotationArgs) ToSecretRotationOutput() SecretRotationOutput
func (SecretRotationArgs) ToSecretRotationOutputWithContext ¶
func (i SecretRotationArgs) ToSecretRotationOutputWithContext(ctx context.Context) SecretRotationOutput
func (SecretRotationArgs) ToSecretRotationPtrOutput ¶
func (i SecretRotationArgs) ToSecretRotationPtrOutput() SecretRotationPtrOutput
func (SecretRotationArgs) ToSecretRotationPtrOutputWithContext ¶
func (i SecretRotationArgs) ToSecretRotationPtrOutputWithContext(ctx context.Context) SecretRotationPtrOutput
type SecretRotationInput ¶
type SecretRotationInput interface { pulumi.Input ToSecretRotationOutput() SecretRotationOutput ToSecretRotationOutputWithContext(context.Context) SecretRotationOutput }
SecretRotationInput is an input type that accepts SecretRotationArgs and SecretRotationOutput values. You can construct a concrete instance of `SecretRotationInput` via:
SecretRotationArgs{...}
type SecretRotationOutput ¶
type SecretRotationOutput struct{ *pulumi.OutputState }
func (SecretRotationOutput) ElementType ¶
func (SecretRotationOutput) ElementType() reflect.Type
func (SecretRotationOutput) NextRotationTime ¶
func (o SecretRotationOutput) NextRotationTime() pulumi.StringPtrOutput
Timestamp in UTC at which the Secret is scheduled to rotate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (SecretRotationOutput) RotationPeriod ¶
func (o SecretRotationOutput) RotationPeriod() pulumi.StringPtrOutput
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotationPeriod is set, `nextRotationTime` must be set. `nextRotationTime` will be advanced by this period when the service automatically sends rotation notifications.
func (SecretRotationOutput) ToSecretRotationOutput ¶
func (o SecretRotationOutput) ToSecretRotationOutput() SecretRotationOutput
func (SecretRotationOutput) ToSecretRotationOutputWithContext ¶
func (o SecretRotationOutput) ToSecretRotationOutputWithContext(ctx context.Context) SecretRotationOutput
func (SecretRotationOutput) ToSecretRotationPtrOutput ¶
func (o SecretRotationOutput) ToSecretRotationPtrOutput() SecretRotationPtrOutput
func (SecretRotationOutput) ToSecretRotationPtrOutputWithContext ¶
func (o SecretRotationOutput) ToSecretRotationPtrOutputWithContext(ctx context.Context) SecretRotationPtrOutput
type SecretRotationPtrInput ¶
type SecretRotationPtrInput interface { pulumi.Input ToSecretRotationPtrOutput() SecretRotationPtrOutput ToSecretRotationPtrOutputWithContext(context.Context) SecretRotationPtrOutput }
SecretRotationPtrInput is an input type that accepts SecretRotationArgs, SecretRotationPtr and SecretRotationPtrOutput values. You can construct a concrete instance of `SecretRotationPtrInput` via:
SecretRotationArgs{...} or: nil
func SecretRotationPtr ¶
func SecretRotationPtr(v *SecretRotationArgs) SecretRotationPtrInput
type SecretRotationPtrOutput ¶
type SecretRotationPtrOutput struct{ *pulumi.OutputState }
func (SecretRotationPtrOutput) Elem ¶
func (o SecretRotationPtrOutput) Elem() SecretRotationOutput
func (SecretRotationPtrOutput) ElementType ¶
func (SecretRotationPtrOutput) ElementType() reflect.Type
func (SecretRotationPtrOutput) NextRotationTime ¶
func (o SecretRotationPtrOutput) NextRotationTime() pulumi.StringPtrOutput
Timestamp in UTC at which the Secret is scheduled to rotate. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
func (SecretRotationPtrOutput) RotationPeriod ¶
func (o SecretRotationPtrOutput) RotationPeriod() pulumi.StringPtrOutput
The Duration between rotation notifications. Must be in seconds and at least 3600s (1h) and at most 3153600000s (100 years). If rotationPeriod is set, `nextRotationTime` must be set. `nextRotationTime` will be advanced by this period when the service automatically sends rotation notifications.
func (SecretRotationPtrOutput) ToSecretRotationPtrOutput ¶
func (o SecretRotationPtrOutput) ToSecretRotationPtrOutput() SecretRotationPtrOutput
func (SecretRotationPtrOutput) ToSecretRotationPtrOutputWithContext ¶
func (o SecretRotationPtrOutput) ToSecretRotationPtrOutputWithContext(ctx context.Context) SecretRotationPtrOutput
type SecretState ¶
type SecretState struct { // Custom metadata about the secret. Annotations are distinct from various forms of labels. Annotations exist to allow // client tools to store their own state information without requiring a database. Annotation keys must be between 1 and 63 // characters long, have a UTF-8 encoding of maximum 128 bytes, begin and end with an alphanumeric character ([a-z0-9A-Z]), // and may have dashes (-), underscores (_), dots (.), and alphanumerics in between these symbols. The total size of // annotation keys and values must be less than 16KiB. An object containing a list of "key": value pairs. Example: { // "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the // annotations present in your configuration. Please refer to the field 'effective_annotations' for all of the annotations // present on the resource. Annotations pulumi.StringMapInput // The time at which the Secret was created. CreateTime pulumi.StringPtrInput EffectiveAnnotations pulumi.StringMapInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Timestamp in UTC when the Secret is scheduled to expire. This is always provided on output, regardless of what was sent // on input. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". Only one of 'expire_time' or 'ttl' can be // provided. ExpireTime pulumi.StringPtrInput // The labels assigned to this Secret. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of // maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} // Label values must be between 0 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to // the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be assigned to a given // resource. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" // }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please // refer to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapInput // The resource name of the Secret. Format: // `projects/{{project}}/secrets/{{secret_id}}` Name pulumi.StringPtrInput Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The replication policy of the secret data attached to the Secret. It cannot be changed // after the Secret has been created. // Structure is documented below. Replication SecretReplicationPtrInput // The rotation time and period for a Secret. At 'next_rotation_time', Secret Manager will send a Pub/Sub notification to // the topics configured on the Secret. 'topics' must be set to configure rotation. Rotation SecretRotationPtrInput // This must be unique within the project. SecretId pulumi.StringPtrInput // A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the secret // or its versions. Topics SecretTopicArrayInput // The TTL for the Secret. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". // Only one of 'ttl' or 'expire_time' can be provided. Ttl pulumi.StringPtrInput // Mapping from version alias to version name. A version alias is a string with a maximum length of 63 characters and can // contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore ('_') characters. An alias string // must start with a letter and cannot be the string 'latest' or 'NEW'. No more than 50 aliases can be assigned to a given // secret. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. VersionAliases pulumi.StringMapInput // Secret Version TTL after destruction request. This is a part of the delayed delete feature on Secret Version. For secret // with versionDestroyTtl>0, version destruction doesn't happen immediately on calling destroy instead the version goes to // a disabled state and the actual destruction happens after this TTL expires. VersionDestroyTtl pulumi.StringPtrInput }
func (SecretState) ElementType ¶
func (SecretState) ElementType() reflect.Type
type SecretTopic ¶
type SecretTopic struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Name string `pulumi:"name"` }
type SecretTopicArgs ¶
type SecretTopicArgs struct { // The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. // For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic. Name pulumi.StringInput `pulumi:"name"` }
func (SecretTopicArgs) ElementType ¶
func (SecretTopicArgs) ElementType() reflect.Type
func (SecretTopicArgs) ToSecretTopicOutput ¶
func (i SecretTopicArgs) ToSecretTopicOutput() SecretTopicOutput
func (SecretTopicArgs) ToSecretTopicOutputWithContext ¶
func (i SecretTopicArgs) ToSecretTopicOutputWithContext(ctx context.Context) SecretTopicOutput
type SecretTopicArray ¶
type SecretTopicArray []SecretTopicInput
func (SecretTopicArray) ElementType ¶
func (SecretTopicArray) ElementType() reflect.Type
func (SecretTopicArray) ToSecretTopicArrayOutput ¶
func (i SecretTopicArray) ToSecretTopicArrayOutput() SecretTopicArrayOutput
func (SecretTopicArray) ToSecretTopicArrayOutputWithContext ¶
func (i SecretTopicArray) ToSecretTopicArrayOutputWithContext(ctx context.Context) SecretTopicArrayOutput
type SecretTopicArrayInput ¶
type SecretTopicArrayInput interface { pulumi.Input ToSecretTopicArrayOutput() SecretTopicArrayOutput ToSecretTopicArrayOutputWithContext(context.Context) SecretTopicArrayOutput }
SecretTopicArrayInput is an input type that accepts SecretTopicArray and SecretTopicArrayOutput values. You can construct a concrete instance of `SecretTopicArrayInput` via:
SecretTopicArray{ SecretTopicArgs{...} }
type SecretTopicArrayOutput ¶
type SecretTopicArrayOutput struct{ *pulumi.OutputState }
func (SecretTopicArrayOutput) ElementType ¶
func (SecretTopicArrayOutput) ElementType() reflect.Type
func (SecretTopicArrayOutput) Index ¶
func (o SecretTopicArrayOutput) Index(i pulumi.IntInput) SecretTopicOutput
func (SecretTopicArrayOutput) ToSecretTopicArrayOutput ¶
func (o SecretTopicArrayOutput) ToSecretTopicArrayOutput() SecretTopicArrayOutput
func (SecretTopicArrayOutput) ToSecretTopicArrayOutputWithContext ¶
func (o SecretTopicArrayOutput) ToSecretTopicArrayOutputWithContext(ctx context.Context) SecretTopicArrayOutput
type SecretTopicInput ¶
type SecretTopicInput interface { pulumi.Input ToSecretTopicOutput() SecretTopicOutput ToSecretTopicOutputWithContext(context.Context) SecretTopicOutput }
SecretTopicInput is an input type that accepts SecretTopicArgs and SecretTopicOutput values. You can construct a concrete instance of `SecretTopicInput` via:
SecretTopicArgs{...}
type SecretTopicOutput ¶
type SecretTopicOutput struct{ *pulumi.OutputState }
func (SecretTopicOutput) ElementType ¶
func (SecretTopicOutput) ElementType() reflect.Type
func (SecretTopicOutput) Name ¶
func (o SecretTopicOutput) Name() pulumi.StringOutput
The resource name of the Pub/Sub topic that will be published to, in the following format: projects/*/topics/*. For publication to succeed, the Secret Manager Service Agent service account must have pubsub.publisher permissions on the topic.
func (SecretTopicOutput) ToSecretTopicOutput ¶
func (o SecretTopicOutput) ToSecretTopicOutput() SecretTopicOutput
func (SecretTopicOutput) ToSecretTopicOutputWithContext ¶
func (o SecretTopicOutput) ToSecretTopicOutputWithContext(ctx context.Context) SecretTopicOutput
type SecretVersion ¶
type SecretVersion struct { pulumi.CustomResourceState // The time at which the Secret was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The deletion policy for the secret version. Setting `ABANDON` allows the resource // to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be // disabled rather than deleted. Default is `DELETE`. Possible values are: // * DELETE // * DISABLE // * ABANDON DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"` // The time at which the Secret was destroyed. Only present if state is DESTROYED. DestroyTime pulumi.StringOutput `pulumi:"destroyTime"` // The current state of the SecretVersion. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. IsSecretDataBase64 pulumi.BoolPtrOutput `pulumi:"isSecretDataBase64"` // The resource name of the SecretVersion. Format: // `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}` Name pulumi.StringOutput `pulumi:"name"` // Secret Manager secret resource // // *** Secret pulumi.StringOutput `pulumi:"secret"` // The secret data. Must be no larger than 64KiB. // **Note**: This property is sensitive and will not be displayed in the plan. SecretData pulumi.StringOutput `pulumi:"secretData"` // The version of the Secret. Version pulumi.StringOutput `pulumi:"version"` }
A secret version resource.
## Example Usage
### Secret Version Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-basic", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret-version"), Labels: pulumi.StringMap{ "label": pulumi.String("my-label"), }, Replication: &secretmanager.SecretReplicationArgs{ Auto: &secretmanager.SecretReplicationAutoArgs{}, }, }) if err != nil { return err } _, err = secretmanager.NewSecretVersion(ctx, "secret-version-basic", &secretmanager.SecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), }) if err != nil { return err } return nil }) }
``` ### Secret Version Deletion Policy Abandon
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-basic", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret-version"), Replication: &secretmanager.SecretReplicationArgs{ UserManaged: &secretmanager.SecretReplicationUserManagedArgs{ Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{ &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-central1"), }, }, }, }, }) if err != nil { return err } _, err = secretmanager.NewSecretVersion(ctx, "secret-version-deletion-policy", &secretmanager.SecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), DeletionPolicy: pulumi.String("ABANDON"), }) if err != nil { return err } return nil }) }
``` ### Secret Version Deletion Policy Disable
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-basic", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret-version"), Replication: &secretmanager.SecretReplicationArgs{ UserManaged: &secretmanager.SecretReplicationUserManagedArgs{ Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{ &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-central1"), }, }, }, }, }) if err != nil { return err } _, err = secretmanager.NewSecretVersion(ctx, "secret-version-deletion-policy", &secretmanager.SecretVersionArgs{ Secret: secret_basic.ID(), SecretData: pulumi.String("secret-data"), DeletionPolicy: pulumi.String("DISABLE"), }) if err != nil { return err } return nil }) }
``` ### Secret Version With Base64 String Secret Data
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := secretmanager.NewSecret(ctx, "secret-basic", &secretmanager.SecretArgs{ SecretId: pulumi.String("secret-version"), Replication: &secretmanager.SecretReplicationArgs{ UserManaged: &secretmanager.SecretReplicationUserManagedArgs{ Replicas: secretmanager.SecretReplicationUserManagedReplicaArray{ &secretmanager.SecretReplicationUserManagedReplicaArgs{ Location: pulumi.String("us-central1"), }, }, }, }, }) if err != nil { return err } invokeFilebase64, err := std.Filebase64(ctx, &std.Filebase64Args{ Input: "secret-data.pfx", }, nil) if err != nil { return err } _, err = secretmanager.NewSecretVersion(ctx, "secret-version-base64", &secretmanager.SecretVersionArgs{ Secret: secret_basic.ID(), IsSecretDataBase64: pulumi.Bool(true), SecretData: pulumi.String(invokeFilebase64.Result), }) if err != nil { return err } return nil }) }
```
## Import
SecretVersion can be imported using any of these accepted formats:
* `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
When using the `pulumi import` command, SecretVersion can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:secretmanager/secretVersion:SecretVersion default projects/{{project}}/secrets/{{secret_id}}/versions/{{version}} ```
func GetSecretVersion ¶
func GetSecretVersion(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretVersionState, opts ...pulumi.ResourceOption) (*SecretVersion, error)
GetSecretVersion gets an existing SecretVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecretVersion ¶
func NewSecretVersion(ctx *pulumi.Context, name string, args *SecretVersionArgs, opts ...pulumi.ResourceOption) (*SecretVersion, error)
NewSecretVersion registers a new resource with the given unique name, arguments, and options.
func (*SecretVersion) ElementType ¶
func (*SecretVersion) ElementType() reflect.Type
func (*SecretVersion) ToSecretVersionOutput ¶
func (i *SecretVersion) ToSecretVersionOutput() SecretVersionOutput
func (*SecretVersion) ToSecretVersionOutputWithContext ¶
func (i *SecretVersion) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput
type SecretVersionArgs ¶
type SecretVersionArgs struct { // The deletion policy for the secret version. Setting `ABANDON` allows the resource // to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be // disabled rather than deleted. Default is `DELETE`. Possible values are: // * DELETE // * DISABLE // * ABANDON DeletionPolicy pulumi.StringPtrInput // The current state of the SecretVersion. Enabled pulumi.BoolPtrInput // If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. IsSecretDataBase64 pulumi.BoolPtrInput // Secret Manager secret resource // // *** Secret pulumi.StringInput // The secret data. Must be no larger than 64KiB. // **Note**: This property is sensitive and will not be displayed in the plan. SecretData pulumi.StringInput }
The set of arguments for constructing a SecretVersion resource.
func (SecretVersionArgs) ElementType ¶
func (SecretVersionArgs) ElementType() reflect.Type
type SecretVersionArray ¶
type SecretVersionArray []SecretVersionInput
func (SecretVersionArray) ElementType ¶
func (SecretVersionArray) ElementType() reflect.Type
func (SecretVersionArray) ToSecretVersionArrayOutput ¶
func (i SecretVersionArray) ToSecretVersionArrayOutput() SecretVersionArrayOutput
func (SecretVersionArray) ToSecretVersionArrayOutputWithContext ¶
func (i SecretVersionArray) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput
type SecretVersionArrayInput ¶
type SecretVersionArrayInput interface { pulumi.Input ToSecretVersionArrayOutput() SecretVersionArrayOutput ToSecretVersionArrayOutputWithContext(context.Context) SecretVersionArrayOutput }
SecretVersionArrayInput is an input type that accepts SecretVersionArray and SecretVersionArrayOutput values. You can construct a concrete instance of `SecretVersionArrayInput` via:
SecretVersionArray{ SecretVersionArgs{...} }
type SecretVersionArrayOutput ¶
type SecretVersionArrayOutput struct{ *pulumi.OutputState }
func (SecretVersionArrayOutput) ElementType ¶
func (SecretVersionArrayOutput) ElementType() reflect.Type
func (SecretVersionArrayOutput) Index ¶
func (o SecretVersionArrayOutput) Index(i pulumi.IntInput) SecretVersionOutput
func (SecretVersionArrayOutput) ToSecretVersionArrayOutput ¶
func (o SecretVersionArrayOutput) ToSecretVersionArrayOutput() SecretVersionArrayOutput
func (SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext ¶
func (o SecretVersionArrayOutput) ToSecretVersionArrayOutputWithContext(ctx context.Context) SecretVersionArrayOutput
type SecretVersionInput ¶
type SecretVersionInput interface { pulumi.Input ToSecretVersionOutput() SecretVersionOutput ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput }
type SecretVersionMap ¶
type SecretVersionMap map[string]SecretVersionInput
func (SecretVersionMap) ElementType ¶
func (SecretVersionMap) ElementType() reflect.Type
func (SecretVersionMap) ToSecretVersionMapOutput ¶
func (i SecretVersionMap) ToSecretVersionMapOutput() SecretVersionMapOutput
func (SecretVersionMap) ToSecretVersionMapOutputWithContext ¶
func (i SecretVersionMap) ToSecretVersionMapOutputWithContext(ctx context.Context) SecretVersionMapOutput
type SecretVersionMapInput ¶
type SecretVersionMapInput interface { pulumi.Input ToSecretVersionMapOutput() SecretVersionMapOutput ToSecretVersionMapOutputWithContext(context.Context) SecretVersionMapOutput }
SecretVersionMapInput is an input type that accepts SecretVersionMap and SecretVersionMapOutput values. You can construct a concrete instance of `SecretVersionMapInput` via:
SecretVersionMap{ "key": SecretVersionArgs{...} }
type SecretVersionMapOutput ¶
type SecretVersionMapOutput struct{ *pulumi.OutputState }
func (SecretVersionMapOutput) ElementType ¶
func (SecretVersionMapOutput) ElementType() reflect.Type
func (SecretVersionMapOutput) MapIndex ¶
func (o SecretVersionMapOutput) MapIndex(k pulumi.StringInput) SecretVersionOutput
func (SecretVersionMapOutput) ToSecretVersionMapOutput ¶
func (o SecretVersionMapOutput) ToSecretVersionMapOutput() SecretVersionMapOutput
func (SecretVersionMapOutput) ToSecretVersionMapOutputWithContext ¶
func (o SecretVersionMapOutput) ToSecretVersionMapOutputWithContext(ctx context.Context) SecretVersionMapOutput
type SecretVersionOutput ¶
type SecretVersionOutput struct{ *pulumi.OutputState }
func (SecretVersionOutput) CreateTime ¶
func (o SecretVersionOutput) CreateTime() pulumi.StringOutput
The time at which the Secret was created.
func (SecretVersionOutput) DeletionPolicy ¶
func (o SecretVersionOutput) DeletionPolicy() pulumi.StringPtrOutput
The deletion policy for the secret version. Setting `ABANDON` allows the resource to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be disabled rather than deleted. Default is `DELETE`. Possible values are: * DELETE * DISABLE * ABANDON
func (SecretVersionOutput) DestroyTime ¶
func (o SecretVersionOutput) DestroyTime() pulumi.StringOutput
The time at which the Secret was destroyed. Only present if state is DESTROYED.
func (SecretVersionOutput) ElementType ¶
func (SecretVersionOutput) ElementType() reflect.Type
func (SecretVersionOutput) Enabled ¶
func (o SecretVersionOutput) Enabled() pulumi.BoolPtrOutput
The current state of the SecretVersion.
func (SecretVersionOutput) IsSecretDataBase64 ¶
func (o SecretVersionOutput) IsSecretDataBase64() pulumi.BoolPtrOutput
If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is.
func (SecretVersionOutput) Name ¶
func (o SecretVersionOutput) Name() pulumi.StringOutput
The resource name of the SecretVersion. Format: `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
func (SecretVersionOutput) Secret ¶
func (o SecretVersionOutput) Secret() pulumi.StringOutput
Secret Manager secret resource
***
func (SecretVersionOutput) SecretData ¶
func (o SecretVersionOutput) SecretData() pulumi.StringOutput
The secret data. Must be no larger than 64KiB. **Note**: This property is sensitive and will not be displayed in the plan.
func (SecretVersionOutput) ToSecretVersionOutput ¶
func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput
func (SecretVersionOutput) ToSecretVersionOutputWithContext ¶
func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput
func (SecretVersionOutput) Version ¶
func (o SecretVersionOutput) Version() pulumi.StringOutput
The version of the Secret.
type SecretVersionState ¶
type SecretVersionState struct { // The time at which the Secret was created. CreateTime pulumi.StringPtrInput // The deletion policy for the secret version. Setting `ABANDON` allows the resource // to be abandoned rather than deleted. Setting `DISABLE` allows the resource to be // disabled rather than deleted. Default is `DELETE`. Possible values are: // * DELETE // * DISABLE // * ABANDON DeletionPolicy pulumi.StringPtrInput // The time at which the Secret was destroyed. Only present if state is DESTROYED. DestroyTime pulumi.StringPtrInput // The current state of the SecretVersion. Enabled pulumi.BoolPtrInput // If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. IsSecretDataBase64 pulumi.BoolPtrInput // The resource name of the SecretVersion. Format: // `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}` Name pulumi.StringPtrInput // Secret Manager secret resource // // *** Secret pulumi.StringPtrInput // The secret data. Must be no larger than 64KiB. // **Note**: This property is sensitive and will not be displayed in the plan. SecretData pulumi.StringPtrInput // The version of the Secret. Version pulumi.StringPtrInput }
func (SecretVersionState) ElementType ¶
func (SecretVersionState) ElementType() reflect.Type
Source Files ¶
- getRegionalSecret.go
- getRegionalSecretIamPolicy.go
- getRegionalSecretVersion.go
- getRegionalSecretVersionAccess.go
- getRegionalSecrets.go
- getSecret.go
- getSecretIamPolicy.go
- getSecretVersion.go
- getSecretVersionAccess.go
- getSecrets.go
- init.go
- pulumiTypes.go
- regionalSecret.go
- regionalSecretIamBinding.go
- regionalSecretIamMember.go
- regionalSecretIamPolicy.go
- regionalSecretVersion.go
- secret.go
- secretIamBinding.go
- secretIamMember.go
- secretIamPolicy.go
- secretVersion.go