Documentation ¶
Index ¶
- 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 GetSecretReplicationInput
- type GetSecretReplicationOutput
- func (o GetSecretReplicationOutput) Automatic() pulumi.BoolOutput
- 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 LookupSecretArgs
- type LookupSecretOutputArgs
- type LookupSecretResult
- type LookupSecretResultOutput
- func (o LookupSecretResultOutput) CreateTime() pulumi.StringOutput
- 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) 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
- 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) 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 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
- 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
- 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
- type SecretIamPolicyState
- type SecretInput
- type SecretMap
- type SecretMapInput
- type SecretMapOutput
- type SecretOutput
- 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 SecretReplicationInput
- type SecretReplicationOutput
- func (o SecretReplicationOutput) Automatic() pulumi.BoolPtrOutput
- 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) Automatic() pulumi.BoolPtrOutput
- 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
- type SecretVersionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSecretReplication ¶
type GetSecretReplication struct { Automatic bool `pulumi:"automatic"` UserManageds []GetSecretReplicationUserManaged `pulumi:"userManageds"` }
type GetSecretReplicationArgs ¶
type GetSecretReplicationArgs struct { Automatic pulumi.BoolInput `pulumi:"automatic"` 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 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) Automatic ¶
func (o GetSecretReplicationOutput) Automatic() pulumi.BoolOutput
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
type GetSecretReplicationUserManaged ¶
type GetSecretReplicationUserManaged struct {
Replicas []GetSecretReplicationUserManagedReplica `pulumi:"replicas"`
}
type GetSecretReplicationUserManagedArgs ¶
type GetSecretReplicationUserManagedArgs struct {
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) ToGetSecretReplicationUserManagedOutput ¶
func (o GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutput() GetSecretReplicationUserManagedOutput
func (GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutputWithContext ¶
func (o GetSecretReplicationUserManagedOutput) ToGetSecretReplicationUserManagedOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedOutput
type GetSecretReplicationUserManagedReplica ¶
type GetSecretReplicationUserManagedReplica struct { CustomerManagedEncryptions []GetSecretReplicationUserManagedReplicaCustomerManagedEncryption `pulumi:"customerManagedEncryptions"` Location string `pulumi:"location"` }
type GetSecretReplicationUserManagedReplicaArgs ¶
type GetSecretReplicationUserManagedReplicaArgs struct { CustomerManagedEncryptions GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArrayInput `pulumi:"customerManagedEncryptions"` 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 {
KmsKeyName string `pulumi:"kmsKeyName"`
}
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs ¶
type GetSecretReplicationUserManagedReplicaCustomerManagedEncryptionArgs struct {
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
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
func (GetSecretReplicationUserManagedReplicaOutput) ElementType ¶
func (GetSecretReplicationUserManagedReplicaOutput) ElementType() reflect.Type
func (GetSecretReplicationUserManagedReplicaOutput) Location ¶
func (o GetSecretReplicationUserManagedReplicaOutput) Location() pulumi.StringOutput
func (GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutput ¶
func (o GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutput() GetSecretReplicationUserManagedReplicaOutput
func (GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutputWithContext ¶
func (o GetSecretReplicationUserManagedReplicaOutput) ToGetSecretReplicationUserManagedReplicaOutputWithContext(ctx context.Context) GetSecretReplicationUserManagedReplicaOutput
type GetSecretRotation ¶
type GetSecretRotationArgs ¶
type GetSecretRotationArgs struct { NextRotationTime pulumi.StringInput `pulumi:"nextRotationTime"` 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
func (GetSecretRotationOutput) RotationPeriod ¶
func (o GetSecretRotationOutput) RotationPeriod() pulumi.StringOutput
func (GetSecretRotationOutput) ToGetSecretRotationOutput ¶
func (o GetSecretRotationOutput) ToGetSecretRotationOutput() GetSecretRotationOutput
func (GetSecretRotationOutput) ToGetSecretRotationOutputWithContext ¶
func (o GetSecretRotationOutput) ToGetSecretRotationOutputWithContext(ctx context.Context) GetSecretRotationOutput
type GetSecretTopic ¶
type GetSecretTopic struct {
Name string `pulumi:"name"`
}
type GetSecretTopicArgs ¶
type GetSecretTopicArgs struct {
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
func (GetSecretTopicOutput) ToGetSecretTopicOutput ¶
func (o GetSecretTopicOutput) ToGetSecretTopicOutput() GetSecretTopicOutput
func (GetSecretTopicOutput) ToGetSecretTopicOutputWithContext ¶
func (o GetSecretTopicOutput) ToGetSecretTopicOutputWithContext(ctx context.Context) GetSecretTopicOutput
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 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 { CreateTime string `pulumi:"createTime"` 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"` Replications []GetSecretReplication `pulumi:"replications"` Rotations []GetSecretRotation `pulumi:"rotations"` SecretId string `pulumi:"secretId"` Topics []GetSecretTopic `pulumi:"topics"` Ttl string `pulumi:"ttl"` }
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/v6/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) CreateTime ¶
func (o LookupSecretResultOutput) CreateTime() pulumi.StringOutput
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) 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
type LookupSecretVersionArgs ¶
type LookupSecretVersionArgs struct { // 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 { // 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"` // 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 a Secret Manager secret's 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).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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) 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 Secret ¶
type Secret struct { pulumi.CustomResourceState // The time at which the Secret was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // 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". 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" }. Labels pulumi.StringMapOutput `pulumi:"labels"` // 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.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 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 `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 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. // Structure is documented below. 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". Ttl pulumi.StringPtrOutput `pulumi:"ttl"` }
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/v6/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{ 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"), }, }, }, }, SecretId: pulumi.String("secret"), }) if err != nil { return err } return nil }) }
```
## Import
Secret can be imported using any of these accepted formats ¶
```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 { // 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". 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" }. Labels pulumi.StringMapInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. 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 `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 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. // Structure is documented below. Topics SecretTopicArrayInput // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Ttl 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 Condition SecretIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` 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.
> **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.
## google\_secret\_manager\_secret\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_secret\_manager\_secret\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_secret\_manager\_secret\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) 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 identifiersthe 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 identifiersthe 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 { Condition SecretIamBindingConditionPtrInput 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 SecretIamBindingConditionArgs ¶
type SecretIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` 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
func (SecretIamBindingConditionOutput) Title ¶
func (o SecretIamBindingConditionOutput) Title() pulumi.StringOutput
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
func (SecretIamBindingConditionPtrOutput) Title ¶
func (o SecretIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
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) ElementType ¶
func (SecretIamBindingOutput) ElementType() reflect.Type
func (SecretIamBindingOutput) ToSecretIamBindingOutput ¶
func (o SecretIamBindingOutput) ToSecretIamBindingOutput() SecretIamBindingOutput
func (SecretIamBindingOutput) ToSecretIamBindingOutputWithContext ¶
func (o SecretIamBindingOutput) ToSecretIamBindingOutputWithContext(ctx context.Context) SecretIamBindingOutput
type SecretIamBindingState ¶
type SecretIamBindingState struct { Condition SecretIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput 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 Condition SecretIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` 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.
> **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.
## google\_secret\_manager\_secret\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_secret\_manager\_secret\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_secret\_manager\_secret\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) 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 identifiersthe 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 identifiersthe 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 { Condition SecretIamMemberConditionPtrInput 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 SecretIamMemberConditionArgs ¶
type SecretIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` 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
func (SecretIamMemberConditionOutput) Title ¶
func (o SecretIamMemberConditionOutput) Title() pulumi.StringOutput
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
func (SecretIamMemberConditionPtrOutput) Title ¶
func (o SecretIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
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) ElementType ¶
func (SecretIamMemberOutput) ElementType() reflect.Type
func (SecretIamMemberOutput) ToSecretIamMemberOutput ¶
func (o SecretIamMemberOutput) ToSecretIamMemberOutput() SecretIamMemberOutput
func (SecretIamMemberOutput) ToSecretIamMemberOutputWithContext ¶
func (o SecretIamMemberOutput) ToSecretIamMemberOutputWithContext(ctx context.Context) SecretIamMemberOutput
type SecretIamMemberState ¶
type SecretIamMemberState struct { Condition SecretIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput 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.
> **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.
## google\_secret\_manager\_secret\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_secret\_manager\_secret\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), Role: pulumi.String("roles/secretmanager.secretAccessor"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_secret\_manager\_secret\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_secret_manager_secret.Secret - basic.Project), SecretId: pulumi.Any(google_secret_manager_secret.Secret - basic.Secret_id), Role: pulumi.String("roles/secretmanager.secretAccessor"), Member: pulumi.String("user:jane@example.com"), }) 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 identifiersthe 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 identifiersthe 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) 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) ElementType ¶
func (SecretOutput) ElementType() reflect.Type
func (SecretOutput) ToSecretOutput ¶
func (o SecretOutput) ToSecretOutput() SecretOutput
func (SecretOutput) ToSecretOutputWithContext ¶
func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
type SecretReplication ¶
type SecretReplication struct { // The Secret will automatically be replicated without any restrictions. Automatic *bool `pulumi:"automatic"` // The Secret will automatically be replicated without any restrictions. // Structure is documented below. UserManaged *SecretReplicationUserManaged `pulumi:"userManaged"` }
type SecretReplicationArgs ¶
type SecretReplicationArgs struct { // The Secret will automatically be replicated without any restrictions. Automatic pulumi.BoolPtrInput `pulumi:"automatic"` // The Secret will automatically be replicated without any restrictions. // 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 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) Automatic ¶
func (o SecretReplicationOutput) Automatic() pulumi.BoolPtrOutput
The Secret will automatically be replicated without any restrictions.
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 automatically be replicated without any restrictions. 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) Automatic ¶
func (o SecretReplicationPtrOutput) Automatic() pulumi.BoolPtrOutput
The Secret will automatically be replicated without any restrictions.
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 automatically be replicated without any restrictions. 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 { // The time at which the Secret was created. CreateTime pulumi.StringPtrInput // 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". 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" }. Labels pulumi.StringMapInput // 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.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 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 `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 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. // Structure is documented below. Topics SecretTopicArrayInput // The TTL for the Secret. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Ttl 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 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"` // 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"` }
A secret version resource.
> **Warning:** All arguments including `payload.secret_data` will be stored in the raw state as plain-text.
## Example Usage ### Secret Version Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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{ Automatic: pulumi.Bool(true), }, }) 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 }) }
```
## Import
SecretVersion can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:secretmanager/secretVersion:SecretVersion default {{name}}/{{name}}
```
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 current state of the SecretVersion. Enabled 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) ElementType ¶
func (SecretVersionOutput) ElementType() reflect.Type
func (SecretVersionOutput) ToSecretVersionOutput ¶
func (o SecretVersionOutput) ToSecretVersionOutput() SecretVersionOutput
func (SecretVersionOutput) ToSecretVersionOutputWithContext ¶
func (o SecretVersionOutput) ToSecretVersionOutputWithContext(ctx context.Context) SecretVersionOutput
type SecretVersionState ¶
type SecretVersionState struct { // The time at which the Secret was created. CreateTime 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 // 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 }
func (SecretVersionState) ElementType ¶
func (SecretVersionState) ElementType() reflect.Type