Documentation ¶
Index ¶
- type CryptoKey
- type CryptoKeyArgs
- type CryptoKeyIAMBinding
- type CryptoKeyIAMBindingArgs
- type CryptoKeyIAMBindingCondition
- type CryptoKeyIAMBindingConditionArgs
- func (CryptoKeyIAMBindingConditionArgs) ElementType() reflect.Type
- func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionOutput() CryptoKeyIAMBindingConditionOutput
- func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionOutput
- func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput
- func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionPtrOutput
- type CryptoKeyIAMBindingConditionInput
- type CryptoKeyIAMBindingConditionOutput
- func (o CryptoKeyIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (CryptoKeyIAMBindingConditionOutput) ElementType() reflect.Type
- func (o CryptoKeyIAMBindingConditionOutput) Expression() pulumi.StringOutput
- func (o CryptoKeyIAMBindingConditionOutput) Title() pulumi.StringOutput
- func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionOutput() CryptoKeyIAMBindingConditionOutput
- func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionOutput
- func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput
- func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionPtrOutput
- type CryptoKeyIAMBindingConditionPtrInput
- type CryptoKeyIAMBindingConditionPtrOutput
- func (o CryptoKeyIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o CryptoKeyIAMBindingConditionPtrOutput) Elem() CryptoKeyIAMBindingConditionOutput
- func (CryptoKeyIAMBindingConditionPtrOutput) ElementType() reflect.Type
- func (o CryptoKeyIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o CryptoKeyIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o CryptoKeyIAMBindingConditionPtrOutput) ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput
- func (o CryptoKeyIAMBindingConditionPtrOutput) ToCryptoKeyIAMBindingConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionPtrOutput
- type CryptoKeyIAMBindingState
- type CryptoKeyIAMMember
- type CryptoKeyIAMMemberArgs
- type CryptoKeyIAMMemberCondition
- type CryptoKeyIAMMemberConditionArgs
- func (CryptoKeyIAMMemberConditionArgs) ElementType() reflect.Type
- func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionOutput() CryptoKeyIAMMemberConditionOutput
- func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionOutput
- func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput
- func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionPtrOutput
- type CryptoKeyIAMMemberConditionInput
- type CryptoKeyIAMMemberConditionOutput
- func (o CryptoKeyIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (CryptoKeyIAMMemberConditionOutput) ElementType() reflect.Type
- func (o CryptoKeyIAMMemberConditionOutput) Expression() pulumi.StringOutput
- func (o CryptoKeyIAMMemberConditionOutput) Title() pulumi.StringOutput
- func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionOutput() CryptoKeyIAMMemberConditionOutput
- func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionOutput
- func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput
- func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionPtrOutput
- type CryptoKeyIAMMemberConditionPtrInput
- type CryptoKeyIAMMemberConditionPtrOutput
- func (o CryptoKeyIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o CryptoKeyIAMMemberConditionPtrOutput) Elem() CryptoKeyIAMMemberConditionOutput
- func (CryptoKeyIAMMemberConditionPtrOutput) ElementType() reflect.Type
- func (o CryptoKeyIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o CryptoKeyIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o CryptoKeyIAMMemberConditionPtrOutput) ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput
- func (o CryptoKeyIAMMemberConditionPtrOutput) ToCryptoKeyIAMMemberConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionPtrOutput
- type CryptoKeyIAMMemberState
- type CryptoKeyIAMPolicy
- type CryptoKeyIAMPolicyArgs
- type CryptoKeyIAMPolicyState
- type CryptoKeyState
- type CryptoKeyVersionTemplate
- type CryptoKeyVersionTemplateArgs
- func (CryptoKeyVersionTemplateArgs) ElementType() reflect.Type
- func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutput() CryptoKeyVersionTemplateOutput
- func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) CryptoKeyVersionTemplateOutput
- func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput
- func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx context.Context) CryptoKeyVersionTemplatePtrOutput
- type CryptoKeyVersionTemplateInput
- type CryptoKeyVersionTemplateOutput
- func (o CryptoKeyVersionTemplateOutput) Algorithm() pulumi.StringOutput
- func (CryptoKeyVersionTemplateOutput) ElementType() reflect.Type
- func (o CryptoKeyVersionTemplateOutput) ProtectionLevel() pulumi.StringPtrOutput
- func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplateOutput() CryptoKeyVersionTemplateOutput
- func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) CryptoKeyVersionTemplateOutput
- func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput
- func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx context.Context) CryptoKeyVersionTemplatePtrOutput
- type CryptoKeyVersionTemplatePtrInput
- type CryptoKeyVersionTemplatePtrOutput
- func (o CryptoKeyVersionTemplatePtrOutput) Algorithm() pulumi.StringPtrOutput
- func (o CryptoKeyVersionTemplatePtrOutput) Elem() CryptoKeyVersionTemplateOutput
- func (CryptoKeyVersionTemplatePtrOutput) ElementType() reflect.Type
- func (o CryptoKeyVersionTemplatePtrOutput) ProtectionLevel() pulumi.StringPtrOutput
- func (o CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput
- func (o CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx context.Context) CryptoKeyVersionTemplatePtrOutput
- type GetKMSCryptoKeyArgs
- type GetKMSCryptoKeyResult
- type GetKMSCryptoKeyVersionArgs
- type GetKMSCryptoKeyVersionPublicKey
- type GetKMSCryptoKeyVersionPublicKeyArgs
- func (GetKMSCryptoKeyVersionPublicKeyArgs) ElementType() reflect.Type
- func (i GetKMSCryptoKeyVersionPublicKeyArgs) ToGetKMSCryptoKeyVersionPublicKeyOutput() GetKMSCryptoKeyVersionPublicKeyOutput
- func (i GetKMSCryptoKeyVersionPublicKeyArgs) ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionPublicKeyOutput
- type GetKMSCryptoKeyVersionPublicKeyInput
- type GetKMSCryptoKeyVersionPublicKeyOutput
- func (o GetKMSCryptoKeyVersionPublicKeyOutput) Algorithm() pulumi.StringOutput
- func (GetKMSCryptoKeyVersionPublicKeyOutput) ElementType() reflect.Type
- func (o GetKMSCryptoKeyVersionPublicKeyOutput) Pem() pulumi.StringOutput
- func (o GetKMSCryptoKeyVersionPublicKeyOutput) ToGetKMSCryptoKeyVersionPublicKeyOutput() GetKMSCryptoKeyVersionPublicKeyOutput
- func (o GetKMSCryptoKeyVersionPublicKeyOutput) ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionPublicKeyOutput
- type GetKMSCryptoKeyVersionResult
- type GetKMSCryptoKeyVersionTemplate
- type GetKMSCryptoKeyVersionTemplateArgs
- func (GetKMSCryptoKeyVersionTemplateArgs) ElementType() reflect.Type
- func (i GetKMSCryptoKeyVersionTemplateArgs) ToGetKMSCryptoKeyVersionTemplateOutput() GetKMSCryptoKeyVersionTemplateOutput
- func (i GetKMSCryptoKeyVersionTemplateArgs) ToGetKMSCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateOutput
- type GetKMSCryptoKeyVersionTemplateArray
- func (GetKMSCryptoKeyVersionTemplateArray) ElementType() reflect.Type
- func (i GetKMSCryptoKeyVersionTemplateArray) ToGetKMSCryptoKeyVersionTemplateArrayOutput() GetKMSCryptoKeyVersionTemplateArrayOutput
- func (i GetKMSCryptoKeyVersionTemplateArray) ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateArrayOutput
- type GetKMSCryptoKeyVersionTemplateArrayInput
- type GetKMSCryptoKeyVersionTemplateArrayOutput
- func (GetKMSCryptoKeyVersionTemplateArrayOutput) ElementType() reflect.Type
- func (o GetKMSCryptoKeyVersionTemplateArrayOutput) Index(i pulumi.IntInput) GetKMSCryptoKeyVersionTemplateOutput
- func (o GetKMSCryptoKeyVersionTemplateArrayOutput) ToGetKMSCryptoKeyVersionTemplateArrayOutput() GetKMSCryptoKeyVersionTemplateArrayOutput
- func (o GetKMSCryptoKeyVersionTemplateArrayOutput) ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateArrayOutput
- type GetKMSCryptoKeyVersionTemplateInput
- type GetKMSCryptoKeyVersionTemplateOutput
- func (o GetKMSCryptoKeyVersionTemplateOutput) Algorithm() pulumi.StringOutput
- func (GetKMSCryptoKeyVersionTemplateOutput) ElementType() reflect.Type
- func (o GetKMSCryptoKeyVersionTemplateOutput) ProtectionLevel() pulumi.StringOutput
- func (o GetKMSCryptoKeyVersionTemplateOutput) ToGetKMSCryptoKeyVersionTemplateOutput() GetKMSCryptoKeyVersionTemplateOutput
- func (o GetKMSCryptoKeyVersionTemplateOutput) ToGetKMSCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateOutput
- type GetKMSKeyRingArgs
- type GetKMSKeyRingResult
- type GetKMSSecretArgs
- type GetKMSSecretCiphertextArgs
- type GetKMSSecretCiphertextResult
- type GetKMSSecretResult
- type KeyRing
- type KeyRingArgs
- type KeyRingIAMBinding
- type KeyRingIAMBindingArgs
- type KeyRingIAMBindingCondition
- type KeyRingIAMBindingConditionArgs
- func (KeyRingIAMBindingConditionArgs) ElementType() reflect.Type
- func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionOutput() KeyRingIAMBindingConditionOutput
- func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionOutput
- func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput
- func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionPtrOutput
- type KeyRingIAMBindingConditionInput
- type KeyRingIAMBindingConditionOutput
- func (o KeyRingIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (KeyRingIAMBindingConditionOutput) ElementType() reflect.Type
- func (o KeyRingIAMBindingConditionOutput) Expression() pulumi.StringOutput
- func (o KeyRingIAMBindingConditionOutput) Title() pulumi.StringOutput
- func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionOutput() KeyRingIAMBindingConditionOutput
- func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionOutput
- func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput
- func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionPtrOutput
- type KeyRingIAMBindingConditionPtrInput
- type KeyRingIAMBindingConditionPtrOutput
- func (o KeyRingIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o KeyRingIAMBindingConditionPtrOutput) Elem() KeyRingIAMBindingConditionOutput
- func (KeyRingIAMBindingConditionPtrOutput) ElementType() reflect.Type
- func (o KeyRingIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o KeyRingIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o KeyRingIAMBindingConditionPtrOutput) ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput
- func (o KeyRingIAMBindingConditionPtrOutput) ToKeyRingIAMBindingConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionPtrOutput
- type KeyRingIAMBindingState
- type KeyRingIAMMember
- type KeyRingIAMMemberArgs
- type KeyRingIAMMemberCondition
- type KeyRingIAMMemberConditionArgs
- func (KeyRingIAMMemberConditionArgs) ElementType() reflect.Type
- func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionOutput() KeyRingIAMMemberConditionOutput
- func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionOutput
- func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput
- func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionPtrOutput
- type KeyRingIAMMemberConditionInput
- type KeyRingIAMMemberConditionOutput
- func (o KeyRingIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (KeyRingIAMMemberConditionOutput) ElementType() reflect.Type
- func (o KeyRingIAMMemberConditionOutput) Expression() pulumi.StringOutput
- func (o KeyRingIAMMemberConditionOutput) Title() pulumi.StringOutput
- func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionOutput() KeyRingIAMMemberConditionOutput
- func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionOutput
- func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput
- func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionPtrOutput
- type KeyRingIAMMemberConditionPtrInput
- type KeyRingIAMMemberConditionPtrOutput
- func (o KeyRingIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o KeyRingIAMMemberConditionPtrOutput) Elem() KeyRingIAMMemberConditionOutput
- func (KeyRingIAMMemberConditionPtrOutput) ElementType() reflect.Type
- func (o KeyRingIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o KeyRingIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o KeyRingIAMMemberConditionPtrOutput) ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput
- func (o KeyRingIAMMemberConditionPtrOutput) ToKeyRingIAMMemberConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionPtrOutput
- type KeyRingIAMMemberState
- type KeyRingIAMPolicy
- type KeyRingIAMPolicyArgs
- type KeyRingIAMPolicyState
- type KeyRingImportJob
- type KeyRingImportJobArgs
- type KeyRingImportJobAttestation
- type KeyRingImportJobAttestationArgs
- func (KeyRingImportJobAttestationArgs) ElementType() reflect.Type
- func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationOutput() KeyRingImportJobAttestationOutput
- func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationOutputWithContext(ctx context.Context) KeyRingImportJobAttestationOutput
- func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput
- func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationPtrOutputWithContext(ctx context.Context) KeyRingImportJobAttestationPtrOutput
- type KeyRingImportJobAttestationInput
- type KeyRingImportJobAttestationOutput
- func (o KeyRingImportJobAttestationOutput) Content() pulumi.StringPtrOutput
- func (KeyRingImportJobAttestationOutput) ElementType() reflect.Type
- func (o KeyRingImportJobAttestationOutput) Format() pulumi.StringPtrOutput
- func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationOutput() KeyRingImportJobAttestationOutput
- func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationOutputWithContext(ctx context.Context) KeyRingImportJobAttestationOutput
- func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput
- func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationPtrOutputWithContext(ctx context.Context) KeyRingImportJobAttestationPtrOutput
- type KeyRingImportJobAttestationPtrInput
- type KeyRingImportJobAttestationPtrOutput
- func (o KeyRingImportJobAttestationPtrOutput) Content() pulumi.StringPtrOutput
- func (o KeyRingImportJobAttestationPtrOutput) Elem() KeyRingImportJobAttestationOutput
- func (KeyRingImportJobAttestationPtrOutput) ElementType() reflect.Type
- func (o KeyRingImportJobAttestationPtrOutput) Format() pulumi.StringPtrOutput
- func (o KeyRingImportJobAttestationPtrOutput) ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput
- func (o KeyRingImportJobAttestationPtrOutput) ToKeyRingImportJobAttestationPtrOutputWithContext(ctx context.Context) KeyRingImportJobAttestationPtrOutput
- type KeyRingImportJobPublicKey
- type KeyRingImportJobPublicKeyArgs
- func (KeyRingImportJobPublicKeyArgs) ElementType() reflect.Type
- func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyOutput() KeyRingImportJobPublicKeyOutput
- func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyOutput
- func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput
- func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyPtrOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyPtrOutput
- type KeyRingImportJobPublicKeyInput
- type KeyRingImportJobPublicKeyOutput
- func (KeyRingImportJobPublicKeyOutput) ElementType() reflect.Type
- func (o KeyRingImportJobPublicKeyOutput) Pem() pulumi.StringPtrOutput
- func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyOutput() KeyRingImportJobPublicKeyOutput
- func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyOutput
- func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput
- func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyPtrOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyPtrOutput
- type KeyRingImportJobPublicKeyPtrInput
- type KeyRingImportJobPublicKeyPtrOutput
- func (o KeyRingImportJobPublicKeyPtrOutput) Elem() KeyRingImportJobPublicKeyOutput
- func (KeyRingImportJobPublicKeyPtrOutput) ElementType() reflect.Type
- func (o KeyRingImportJobPublicKeyPtrOutput) Pem() pulumi.StringPtrOutput
- func (o KeyRingImportJobPublicKeyPtrOutput) ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput
- func (o KeyRingImportJobPublicKeyPtrOutput) ToKeyRingImportJobPublicKeyPtrOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyPtrOutput
- type KeyRingImportJobState
- type KeyRingState
- type Registrydeprecated
- type RegistryArgs
- type RegistryCredential
- type RegistryCredentialArgs
- type RegistryCredentialArray
- type RegistryCredentialArrayInput
- type RegistryCredentialArrayOutput
- func (RegistryCredentialArrayOutput) ElementType() reflect.Type
- func (o RegistryCredentialArrayOutput) Index(i pulumi.IntInput) RegistryCredentialOutput
- func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput
- func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutputWithContext(ctx context.Context) RegistryCredentialArrayOutput
- type RegistryCredentialInput
- type RegistryCredentialOutput
- func (RegistryCredentialOutput) ElementType() reflect.Type
- func (o RegistryCredentialOutput) PublicKeyCertificate() RegistryCredentialPublicKeyCertificateOutput
- func (o RegistryCredentialOutput) ToRegistryCredentialOutput() RegistryCredentialOutput
- func (o RegistryCredentialOutput) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput
- type RegistryCredentialPublicKeyCertificate
- type RegistryCredentialPublicKeyCertificateArgs
- func (RegistryCredentialPublicKeyCertificateArgs) ElementType() reflect.Type
- func (i RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput
- func (i RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutputWithContext(ctx context.Context) RegistryCredentialPublicKeyCertificateOutput
- type RegistryCredentialPublicKeyCertificateInput
- type RegistryCredentialPublicKeyCertificateOutput
- func (o RegistryCredentialPublicKeyCertificateOutput) Certificate() pulumi.StringOutput
- func (RegistryCredentialPublicKeyCertificateOutput) ElementType() reflect.Type
- func (o RegistryCredentialPublicKeyCertificateOutput) Format() pulumi.StringOutput
- func (o RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput
- func (o RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutputWithContext(ctx context.Context) RegistryCredentialPublicKeyCertificateOutput
- type RegistryEventNotificationConfigItem
- type RegistryEventNotificationConfigItemArgs
- func (RegistryEventNotificationConfigItemArgs) ElementType() reflect.Type
- func (i RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput
- func (i RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemOutput
- type RegistryEventNotificationConfigItemArray
- func (RegistryEventNotificationConfigItemArray) ElementType() reflect.Type
- func (i RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput
- func (i RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemArrayOutput
- type RegistryEventNotificationConfigItemArrayInput
- type RegistryEventNotificationConfigItemArrayOutput
- func (RegistryEventNotificationConfigItemArrayOutput) ElementType() reflect.Type
- func (o RegistryEventNotificationConfigItemArrayOutput) Index(i pulumi.IntInput) RegistryEventNotificationConfigItemOutput
- func (o RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput
- func (o RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemArrayOutput
- type RegistryEventNotificationConfigItemInput
- type RegistryEventNotificationConfigItemOutput
- func (RegistryEventNotificationConfigItemOutput) ElementType() reflect.Type
- func (o RegistryEventNotificationConfigItemOutput) PubsubTopicName() pulumi.StringOutput
- func (o RegistryEventNotificationConfigItemOutput) SubfolderMatches() pulumi.StringPtrOutput
- func (o RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput
- func (o RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemOutput
- type RegistryHttpConfig
- type RegistryHttpConfigArgs
- func (RegistryHttpConfigArgs) ElementType() reflect.Type
- func (i RegistryHttpConfigArgs) ToRegistryHttpConfigOutput() RegistryHttpConfigOutput
- func (i RegistryHttpConfigArgs) ToRegistryHttpConfigOutputWithContext(ctx context.Context) RegistryHttpConfigOutput
- func (i RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
- func (i RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput
- type RegistryHttpConfigInput
- type RegistryHttpConfigOutput
- func (RegistryHttpConfigOutput) ElementType() reflect.Type
- func (o RegistryHttpConfigOutput) HttpEnabledState() pulumi.StringOutput
- func (o RegistryHttpConfigOutput) ToRegistryHttpConfigOutput() RegistryHttpConfigOutput
- func (o RegistryHttpConfigOutput) ToRegistryHttpConfigOutputWithContext(ctx context.Context) RegistryHttpConfigOutput
- func (o RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
- func (o RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput
- type RegistryHttpConfigPtrInput
- type RegistryHttpConfigPtrOutput
- func (o RegistryHttpConfigPtrOutput) Elem() RegistryHttpConfigOutput
- func (RegistryHttpConfigPtrOutput) ElementType() reflect.Type
- func (o RegistryHttpConfigPtrOutput) HttpEnabledState() pulumi.StringPtrOutput
- func (o RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
- func (o RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput
- type RegistryMqttConfig
- type RegistryMqttConfigArgs
- func (RegistryMqttConfigArgs) ElementType() reflect.Type
- func (i RegistryMqttConfigArgs) ToRegistryMqttConfigOutput() RegistryMqttConfigOutput
- func (i RegistryMqttConfigArgs) ToRegistryMqttConfigOutputWithContext(ctx context.Context) RegistryMqttConfigOutput
- func (i RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
- func (i RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput
- type RegistryMqttConfigInput
- type RegistryMqttConfigOutput
- func (RegistryMqttConfigOutput) ElementType() reflect.Type
- func (o RegistryMqttConfigOutput) MqttEnabledState() pulumi.StringOutput
- func (o RegistryMqttConfigOutput) ToRegistryMqttConfigOutput() RegistryMqttConfigOutput
- func (o RegistryMqttConfigOutput) ToRegistryMqttConfigOutputWithContext(ctx context.Context) RegistryMqttConfigOutput
- func (o RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
- func (o RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput
- type RegistryMqttConfigPtrInput
- type RegistryMqttConfigPtrOutput
- func (o RegistryMqttConfigPtrOutput) Elem() RegistryMqttConfigOutput
- func (RegistryMqttConfigPtrOutput) ElementType() reflect.Type
- func (o RegistryMqttConfigPtrOutput) MqttEnabledState() pulumi.StringPtrOutput
- func (o RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
- func (o RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput
- type RegistryState
- type RegistryStateNotificationConfig
- type RegistryStateNotificationConfigArgs
- func (RegistryStateNotificationConfigArgs) ElementType() reflect.Type
- func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput
- func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutputWithContext(ctx context.Context) RegistryStateNotificationConfigOutput
- func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
- func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput
- type RegistryStateNotificationConfigInput
- type RegistryStateNotificationConfigOutput
- func (RegistryStateNotificationConfigOutput) ElementType() reflect.Type
- func (o RegistryStateNotificationConfigOutput) PubsubTopicName() pulumi.StringOutput
- func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput
- func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutputWithContext(ctx context.Context) RegistryStateNotificationConfigOutput
- func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
- func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput
- type RegistryStateNotificationConfigPtrInput
- type RegistryStateNotificationConfigPtrOutput
- func (o RegistryStateNotificationConfigPtrOutput) Elem() RegistryStateNotificationConfigOutput
- func (RegistryStateNotificationConfigPtrOutput) ElementType() reflect.Type
- func (o RegistryStateNotificationConfigPtrOutput) PubsubTopicName() pulumi.StringPtrOutput
- func (o RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
- func (o RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput
- type SecretCiphertext
- type SecretCiphertextArgs
- type SecretCiphertextState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoKey ¶
type CryptoKey struct { pulumi.CustomResourceState // The KeyRing that this key belongs to. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'`. KeyRing pulumi.StringOutput `pulumi:"keyRing"` // Labels with user-defined metadata to apply to this resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The resource name for the CryptoKey. Name pulumi.StringOutput `pulumi:"name"` // The immutable purpose of this CryptoKey. See the // [purpose reference](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKeyPurpose) // for possible inputs. // Default value is `ENCRYPT_DECRYPT`. // Possible values are `ENCRYPT_DECRYPT`, `ASYMMETRIC_SIGN`, and `ASYMMETRIC_DECRYPT`. Purpose pulumi.StringPtrOutput `pulumi:"purpose"` // Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. // The first rotation will take place after the specified period. The rotation period has // the format of a decimal number with up to 9 fractional digits, followed by the // letter `s` (seconds). It must be greater than a day (ie, 86400). RotationPeriod pulumi.StringPtrOutput `pulumi:"rotationPeriod"` SelfLink pulumi.StringOutput `pulumi:"selfLink"` // A template describing settings for new crypto key versions. // Structure is documented below. VersionTemplate CryptoKeyVersionTemplateOutput `pulumi:"versionTemplate"` }
A `CryptoKey` represents a logical key that can be used for cryptographic operations.
> **Note:** CryptoKeys cannot be deleted from Google Cloud Platform. Destroying a provider-managed CryptoKey will remove it from state and delete all CryptoKeyVersions, rendering the key unusable, but *will not delete the resource on the server.* When the provider destroys these keys, any data previously encrypted with these keys will be irrecoverable. For this reason, it is strongly recommended that you add lifecycle hooks to the resource to prevent accidental destruction.
To get more information about CryptoKey, see:
* [API documentation](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys) * How-to Guides
- [Creating a key](https://cloud.google.com/kms/docs/creating-keys#create_a_key)
## Example Usage
func GetCryptoKey ¶
func GetCryptoKey(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CryptoKeyState, opts ...pulumi.ResourceOption) (*CryptoKey, error)
GetCryptoKey gets an existing CryptoKey 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 NewCryptoKey ¶
func NewCryptoKey(ctx *pulumi.Context, name string, args *CryptoKeyArgs, opts ...pulumi.ResourceOption) (*CryptoKey, error)
NewCryptoKey registers a new resource with the given unique name, arguments, and options.
type CryptoKeyArgs ¶
type CryptoKeyArgs struct { // The KeyRing that this key belongs to. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'`. KeyRing pulumi.StringInput // Labels with user-defined metadata to apply to this resource. Labels pulumi.StringMapInput // The resource name for the CryptoKey. Name pulumi.StringPtrInput // The immutable purpose of this CryptoKey. See the // [purpose reference](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKeyPurpose) // for possible inputs. // Default value is `ENCRYPT_DECRYPT`. // Possible values are `ENCRYPT_DECRYPT`, `ASYMMETRIC_SIGN`, and `ASYMMETRIC_DECRYPT`. Purpose pulumi.StringPtrInput // Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. // The first rotation will take place after the specified period. The rotation period has // the format of a decimal number with up to 9 fractional digits, followed by the // letter `s` (seconds). It must be greater than a day (ie, 86400). RotationPeriod pulumi.StringPtrInput // A template describing settings for new crypto key versions. // Structure is documented below. VersionTemplate CryptoKeyVersionTemplatePtrInput }
The set of arguments for constructing a CryptoKey resource.
func (CryptoKeyArgs) ElementType ¶
func (CryptoKeyArgs) ElementType() reflect.Type
type CryptoKeyIAMBinding ¶
type CryptoKeyIAMBinding struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition CryptoKeyIAMBindingConditionPtrOutput `pulumi:"condition"` // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringOutput `pulumi:"cryptoKeyId"` // (Computed) The etag of the project's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Members pulumi.StringArrayOutput `pulumi:"members"` // The role that should be applied. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:
* `kms.CryptoKeyIAMPolicy`: Authoritative. Sets the IAM policy for the crypto key and replaces any existing policy already attached. * `kms.CryptoKeyIAMBinding`: 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 crypto key are preserved. * `kms.CryptoKeyIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the crypto key are preserved.
> **Note:** `kms.CryptoKeyIAMPolicy` **cannot** be used in conjunction with `kms.CryptoKeyIAMBinding` and `kms.CryptoKeyIAMMember` or they will fight over what your policy should be.
> **Note:** `kms.CryptoKeyIAMBinding` resources **can be** used in conjunction with `kms.CryptoKeyIAMMember` resources **only if** they do not grant privilege to the same role.
With IAM Conditions:
With IAM Conditions:
With IAM Conditions:
func GetCryptoKeyIAMBinding ¶
func GetCryptoKeyIAMBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CryptoKeyIAMBindingState, opts ...pulumi.ResourceOption) (*CryptoKeyIAMBinding, error)
GetCryptoKeyIAMBinding gets an existing CryptoKeyIAMBinding 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 NewCryptoKeyIAMBinding ¶
func NewCryptoKeyIAMBinding(ctx *pulumi.Context, name string, args *CryptoKeyIAMBindingArgs, opts ...pulumi.ResourceOption) (*CryptoKeyIAMBinding, error)
NewCryptoKeyIAMBinding registers a new resource with the given unique name, arguments, and options.
type CryptoKeyIAMBindingArgs ¶
type CryptoKeyIAMBindingArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition CryptoKeyIAMBindingConditionPtrInput // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringInput Members pulumi.StringArrayInput // The role that should be applied. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a CryptoKeyIAMBinding resource.
func (CryptoKeyIAMBindingArgs) ElementType ¶
func (CryptoKeyIAMBindingArgs) ElementType() reflect.Type
type CryptoKeyIAMBindingCondition ¶
type CryptoKeyIAMBindingCondition struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type CryptoKeyIAMBindingConditionArgs ¶
type CryptoKeyIAMBindingConditionArgs struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (CryptoKeyIAMBindingConditionArgs) ElementType ¶
func (CryptoKeyIAMBindingConditionArgs) ElementType() reflect.Type
func (CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionOutput ¶
func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionOutput() CryptoKeyIAMBindingConditionOutput
func (CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionOutputWithContext ¶
func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionOutput
func (CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionPtrOutput ¶
func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput
func (CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionPtrOutputWithContext ¶
func (i CryptoKeyIAMBindingConditionArgs) ToCryptoKeyIAMBindingConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionPtrOutput
type CryptoKeyIAMBindingConditionInput ¶
type CryptoKeyIAMBindingConditionInput interface { pulumi.Input ToCryptoKeyIAMBindingConditionOutput() CryptoKeyIAMBindingConditionOutput ToCryptoKeyIAMBindingConditionOutputWithContext(context.Context) CryptoKeyIAMBindingConditionOutput }
CryptoKeyIAMBindingConditionInput is an input type that accepts CryptoKeyIAMBindingConditionArgs and CryptoKeyIAMBindingConditionOutput values. You can construct a concrete instance of `CryptoKeyIAMBindingConditionInput` via:
CryptoKeyIAMBindingConditionArgs{...}
type CryptoKeyIAMBindingConditionOutput ¶
type CryptoKeyIAMBindingConditionOutput struct{ *pulumi.OutputState }
func (CryptoKeyIAMBindingConditionOutput) Description ¶
func (o CryptoKeyIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (CryptoKeyIAMBindingConditionOutput) ElementType ¶
func (CryptoKeyIAMBindingConditionOutput) ElementType() reflect.Type
func (CryptoKeyIAMBindingConditionOutput) Expression ¶
func (o CryptoKeyIAMBindingConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (CryptoKeyIAMBindingConditionOutput) Title ¶
func (o CryptoKeyIAMBindingConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionOutput ¶
func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionOutput() CryptoKeyIAMBindingConditionOutput
func (CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionOutputWithContext ¶
func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionOutput
func (CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionPtrOutput ¶
func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput
func (CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionPtrOutputWithContext ¶
func (o CryptoKeyIAMBindingConditionOutput) ToCryptoKeyIAMBindingConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionPtrOutput
type CryptoKeyIAMBindingConditionPtrInput ¶
type CryptoKeyIAMBindingConditionPtrInput interface { pulumi.Input ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput ToCryptoKeyIAMBindingConditionPtrOutputWithContext(context.Context) CryptoKeyIAMBindingConditionPtrOutput }
CryptoKeyIAMBindingConditionPtrInput is an input type that accepts CryptoKeyIAMBindingConditionArgs, CryptoKeyIAMBindingConditionPtr and CryptoKeyIAMBindingConditionPtrOutput values. You can construct a concrete instance of `CryptoKeyIAMBindingConditionPtrInput` via:
CryptoKeyIAMBindingConditionArgs{...} or: nil
func CryptoKeyIAMBindingConditionPtr ¶
func CryptoKeyIAMBindingConditionPtr(v *CryptoKeyIAMBindingConditionArgs) CryptoKeyIAMBindingConditionPtrInput
type CryptoKeyIAMBindingConditionPtrOutput ¶
type CryptoKeyIAMBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (CryptoKeyIAMBindingConditionPtrOutput) Description ¶
func (o CryptoKeyIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (CryptoKeyIAMBindingConditionPtrOutput) ElementType ¶
func (CryptoKeyIAMBindingConditionPtrOutput) ElementType() reflect.Type
func (CryptoKeyIAMBindingConditionPtrOutput) Expression ¶
func (o CryptoKeyIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (CryptoKeyIAMBindingConditionPtrOutput) Title ¶
func (o CryptoKeyIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (CryptoKeyIAMBindingConditionPtrOutput) ToCryptoKeyIAMBindingConditionPtrOutput ¶
func (o CryptoKeyIAMBindingConditionPtrOutput) ToCryptoKeyIAMBindingConditionPtrOutput() CryptoKeyIAMBindingConditionPtrOutput
func (CryptoKeyIAMBindingConditionPtrOutput) ToCryptoKeyIAMBindingConditionPtrOutputWithContext ¶
func (o CryptoKeyIAMBindingConditionPtrOutput) ToCryptoKeyIAMBindingConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMBindingConditionPtrOutput
type CryptoKeyIAMBindingState ¶
type CryptoKeyIAMBindingState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition CryptoKeyIAMBindingConditionPtrInput // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringPtrInput // (Computed) The etag of the project's IAM policy. Etag pulumi.StringPtrInput Members pulumi.StringArrayInput // The role that should be applied. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (CryptoKeyIAMBindingState) ElementType ¶
func (CryptoKeyIAMBindingState) ElementType() reflect.Type
type CryptoKeyIAMMember ¶
type CryptoKeyIAMMember struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition CryptoKeyIAMMemberConditionPtrOutput `pulumi:"condition"` // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringOutput `pulumi:"cryptoKeyId"` // (Computed) The etag of the project's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` Member pulumi.StringOutput `pulumi:"member"` // The role that should be applied. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:
* `kms.CryptoKeyIAMPolicy`: Authoritative. Sets the IAM policy for the crypto key and replaces any existing policy already attached. * `kms.CryptoKeyIAMBinding`: 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 crypto key are preserved. * `kms.CryptoKeyIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the crypto key are preserved.
> **Note:** `kms.CryptoKeyIAMPolicy` **cannot** be used in conjunction with `kms.CryptoKeyIAMBinding` and `kms.CryptoKeyIAMMember` or they will fight over what your policy should be.
> **Note:** `kms.CryptoKeyIAMBinding` resources **can be** used in conjunction with `kms.CryptoKeyIAMMember` resources **only if** they do not grant privilege to the same role.
With IAM Conditions:
With IAM Conditions:
With IAM Conditions:
func GetCryptoKeyIAMMember ¶
func GetCryptoKeyIAMMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CryptoKeyIAMMemberState, opts ...pulumi.ResourceOption) (*CryptoKeyIAMMember, error)
GetCryptoKeyIAMMember gets an existing CryptoKeyIAMMember 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 NewCryptoKeyIAMMember ¶
func NewCryptoKeyIAMMember(ctx *pulumi.Context, name string, args *CryptoKeyIAMMemberArgs, opts ...pulumi.ResourceOption) (*CryptoKeyIAMMember, error)
NewCryptoKeyIAMMember registers a new resource with the given unique name, arguments, and options.
type CryptoKeyIAMMemberArgs ¶
type CryptoKeyIAMMemberArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition CryptoKeyIAMMemberConditionPtrInput // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringInput Member pulumi.StringInput // The role that should be applied. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a CryptoKeyIAMMember resource.
func (CryptoKeyIAMMemberArgs) ElementType ¶
func (CryptoKeyIAMMemberArgs) ElementType() reflect.Type
type CryptoKeyIAMMemberCondition ¶
type CryptoKeyIAMMemberCondition struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type CryptoKeyIAMMemberConditionArgs ¶
type CryptoKeyIAMMemberConditionArgs struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (CryptoKeyIAMMemberConditionArgs) ElementType ¶
func (CryptoKeyIAMMemberConditionArgs) ElementType() reflect.Type
func (CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionOutput ¶
func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionOutput() CryptoKeyIAMMemberConditionOutput
func (CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionOutputWithContext ¶
func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionOutput
func (CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionPtrOutput ¶
func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput
func (CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionPtrOutputWithContext ¶
func (i CryptoKeyIAMMemberConditionArgs) ToCryptoKeyIAMMemberConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionPtrOutput
type CryptoKeyIAMMemberConditionInput ¶
type CryptoKeyIAMMemberConditionInput interface { pulumi.Input ToCryptoKeyIAMMemberConditionOutput() CryptoKeyIAMMemberConditionOutput ToCryptoKeyIAMMemberConditionOutputWithContext(context.Context) CryptoKeyIAMMemberConditionOutput }
CryptoKeyIAMMemberConditionInput is an input type that accepts CryptoKeyIAMMemberConditionArgs and CryptoKeyIAMMemberConditionOutput values. You can construct a concrete instance of `CryptoKeyIAMMemberConditionInput` via:
CryptoKeyIAMMemberConditionArgs{...}
type CryptoKeyIAMMemberConditionOutput ¶
type CryptoKeyIAMMemberConditionOutput struct{ *pulumi.OutputState }
func (CryptoKeyIAMMemberConditionOutput) Description ¶
func (o CryptoKeyIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (CryptoKeyIAMMemberConditionOutput) ElementType ¶
func (CryptoKeyIAMMemberConditionOutput) ElementType() reflect.Type
func (CryptoKeyIAMMemberConditionOutput) Expression ¶
func (o CryptoKeyIAMMemberConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (CryptoKeyIAMMemberConditionOutput) Title ¶
func (o CryptoKeyIAMMemberConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionOutput ¶
func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionOutput() CryptoKeyIAMMemberConditionOutput
func (CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionOutputWithContext ¶
func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionOutput
func (CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionPtrOutput ¶
func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput
func (CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionPtrOutputWithContext ¶
func (o CryptoKeyIAMMemberConditionOutput) ToCryptoKeyIAMMemberConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionPtrOutput
type CryptoKeyIAMMemberConditionPtrInput ¶
type CryptoKeyIAMMemberConditionPtrInput interface { pulumi.Input ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput ToCryptoKeyIAMMemberConditionPtrOutputWithContext(context.Context) CryptoKeyIAMMemberConditionPtrOutput }
CryptoKeyIAMMemberConditionPtrInput is an input type that accepts CryptoKeyIAMMemberConditionArgs, CryptoKeyIAMMemberConditionPtr and CryptoKeyIAMMemberConditionPtrOutput values. You can construct a concrete instance of `CryptoKeyIAMMemberConditionPtrInput` via:
CryptoKeyIAMMemberConditionArgs{...} or: nil
func CryptoKeyIAMMemberConditionPtr ¶
func CryptoKeyIAMMemberConditionPtr(v *CryptoKeyIAMMemberConditionArgs) CryptoKeyIAMMemberConditionPtrInput
type CryptoKeyIAMMemberConditionPtrOutput ¶
type CryptoKeyIAMMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (CryptoKeyIAMMemberConditionPtrOutput) Description ¶
func (o CryptoKeyIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (CryptoKeyIAMMemberConditionPtrOutput) ElementType ¶
func (CryptoKeyIAMMemberConditionPtrOutput) ElementType() reflect.Type
func (CryptoKeyIAMMemberConditionPtrOutput) Expression ¶
func (o CryptoKeyIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (CryptoKeyIAMMemberConditionPtrOutput) Title ¶
func (o CryptoKeyIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (CryptoKeyIAMMemberConditionPtrOutput) ToCryptoKeyIAMMemberConditionPtrOutput ¶
func (o CryptoKeyIAMMemberConditionPtrOutput) ToCryptoKeyIAMMemberConditionPtrOutput() CryptoKeyIAMMemberConditionPtrOutput
func (CryptoKeyIAMMemberConditionPtrOutput) ToCryptoKeyIAMMemberConditionPtrOutputWithContext ¶
func (o CryptoKeyIAMMemberConditionPtrOutput) ToCryptoKeyIAMMemberConditionPtrOutputWithContext(ctx context.Context) CryptoKeyIAMMemberConditionPtrOutput
type CryptoKeyIAMMemberState ¶
type CryptoKeyIAMMemberState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition CryptoKeyIAMMemberConditionPtrInput // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringPtrInput // (Computed) The etag of the project's IAM policy. Etag pulumi.StringPtrInput Member pulumi.StringPtrInput // The role that should be applied. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (CryptoKeyIAMMemberState) ElementType ¶
func (CryptoKeyIAMMemberState) ElementType() reflect.Type
type CryptoKeyIAMPolicy ¶
type CryptoKeyIAMPolicy struct { pulumi.CustomResourceState // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringOutput `pulumi:"cryptoKeyId"` // (Computed) The etag of the project's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` }
Three different resources help you manage your IAM policy for KMS crypto key. Each of these resources serves a different use case:
* `kms.CryptoKeyIAMPolicy`: Authoritative. Sets the IAM policy for the crypto key and replaces any existing policy already attached. * `kms.CryptoKeyIAMBinding`: 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 crypto key are preserved. * `kms.CryptoKeyIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the crypto key are preserved.
> **Note:** `kms.CryptoKeyIAMPolicy` **cannot** be used in conjunction with `kms.CryptoKeyIAMBinding` and `kms.CryptoKeyIAMMember` or they will fight over what your policy should be.
> **Note:** `kms.CryptoKeyIAMBinding` resources **can be** used in conjunction with `kms.CryptoKeyIAMMember` resources **only if** they do not grant privilege to the same role.
With IAM Conditions:
With IAM Conditions:
With IAM Conditions:
func GetCryptoKeyIAMPolicy ¶
func GetCryptoKeyIAMPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CryptoKeyIAMPolicyState, opts ...pulumi.ResourceOption) (*CryptoKeyIAMPolicy, error)
GetCryptoKeyIAMPolicy gets an existing CryptoKeyIAMPolicy 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 NewCryptoKeyIAMPolicy ¶
func NewCryptoKeyIAMPolicy(ctx *pulumi.Context, name string, args *CryptoKeyIAMPolicyArgs, opts ...pulumi.ResourceOption) (*CryptoKeyIAMPolicy, error)
NewCryptoKeyIAMPolicy registers a new resource with the given unique name, arguments, and options.
type CryptoKeyIAMPolicyArgs ¶
type CryptoKeyIAMPolicyArgs struct { // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput }
The set of arguments for constructing a CryptoKeyIAMPolicy resource.
func (CryptoKeyIAMPolicyArgs) ElementType ¶
func (CryptoKeyIAMPolicyArgs) ElementType() reflect.Type
type CryptoKeyIAMPolicyState ¶
type CryptoKeyIAMPolicyState struct { // The crypto key ID, in the form // `{project_id}/{location_name}/{key_ring_name}/{crypto_key_name}` or // `{location_name}/{key_ring_name}/{crypto_key_name}`. In the second form, // the provider's project setting will be used as a fallback. CryptoKeyId pulumi.StringPtrInput // (Computed) The etag of the project's IAM policy. Etag pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput }
func (CryptoKeyIAMPolicyState) ElementType ¶
func (CryptoKeyIAMPolicyState) ElementType() reflect.Type
type CryptoKeyState ¶
type CryptoKeyState struct { // The KeyRing that this key belongs to. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'`. KeyRing pulumi.StringPtrInput // Labels with user-defined metadata to apply to this resource. Labels pulumi.StringMapInput // The resource name for the CryptoKey. Name pulumi.StringPtrInput // The immutable purpose of this CryptoKey. See the // [purpose reference](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKeyPurpose) // for possible inputs. // Default value is `ENCRYPT_DECRYPT`. // Possible values are `ENCRYPT_DECRYPT`, `ASYMMETRIC_SIGN`, and `ASYMMETRIC_DECRYPT`. Purpose pulumi.StringPtrInput // Every time this period passes, generate a new CryptoKeyVersion and set it as the primary. // The first rotation will take place after the specified period. The rotation period has // the format of a decimal number with up to 9 fractional digits, followed by the // letter `s` (seconds). It must be greater than a day (ie, 86400). RotationPeriod pulumi.StringPtrInput SelfLink pulumi.StringPtrInput // A template describing settings for new crypto key versions. // Structure is documented below. VersionTemplate CryptoKeyVersionTemplatePtrInput }
func (CryptoKeyState) ElementType ¶
func (CryptoKeyState) ElementType() reflect.Type
type CryptoKeyVersionTemplate ¶
type CryptoKeyVersionTemplate struct { // The algorithm to use when creating a version based on this template. // See the [algorithm reference](https://cloud.google.com/kms/docs/reference/rest/v1/CryptoKeyVersionAlgorithm) for possible inputs. Algorithm string `pulumi:"algorithm"` // The protection level to use when creating a version based on this template. // Default value is `SOFTWARE`. // Possible values are `SOFTWARE` and `HSM`. ProtectionLevel *string `pulumi:"protectionLevel"` }
type CryptoKeyVersionTemplateArgs ¶
type CryptoKeyVersionTemplateArgs struct { // The algorithm to use when creating a version based on this template. // See the [algorithm reference](https://cloud.google.com/kms/docs/reference/rest/v1/CryptoKeyVersionAlgorithm) for possible inputs. Algorithm pulumi.StringInput `pulumi:"algorithm"` // The protection level to use when creating a version based on this template. // Default value is `SOFTWARE`. // Possible values are `SOFTWARE` and `HSM`. ProtectionLevel pulumi.StringPtrInput `pulumi:"protectionLevel"` }
func (CryptoKeyVersionTemplateArgs) ElementType ¶
func (CryptoKeyVersionTemplateArgs) ElementType() reflect.Type
func (CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutput ¶
func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutput() CryptoKeyVersionTemplateOutput
func (CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutputWithContext ¶
func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) CryptoKeyVersionTemplateOutput
func (CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutput ¶
func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput
func (CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutputWithContext ¶
func (i CryptoKeyVersionTemplateArgs) ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx context.Context) CryptoKeyVersionTemplatePtrOutput
type CryptoKeyVersionTemplateInput ¶
type CryptoKeyVersionTemplateInput interface { pulumi.Input ToCryptoKeyVersionTemplateOutput() CryptoKeyVersionTemplateOutput ToCryptoKeyVersionTemplateOutputWithContext(context.Context) CryptoKeyVersionTemplateOutput }
CryptoKeyVersionTemplateInput is an input type that accepts CryptoKeyVersionTemplateArgs and CryptoKeyVersionTemplateOutput values. You can construct a concrete instance of `CryptoKeyVersionTemplateInput` via:
CryptoKeyVersionTemplateArgs{...}
type CryptoKeyVersionTemplateOutput ¶
type CryptoKeyVersionTemplateOutput struct{ *pulumi.OutputState }
func (CryptoKeyVersionTemplateOutput) Algorithm ¶
func (o CryptoKeyVersionTemplateOutput) Algorithm() pulumi.StringOutput
The algorithm to use when creating a version based on this template. See the [algorithm reference](https://cloud.google.com/kms/docs/reference/rest/v1/CryptoKeyVersionAlgorithm) for possible inputs.
func (CryptoKeyVersionTemplateOutput) ElementType ¶
func (CryptoKeyVersionTemplateOutput) ElementType() reflect.Type
func (CryptoKeyVersionTemplateOutput) ProtectionLevel ¶
func (o CryptoKeyVersionTemplateOutput) ProtectionLevel() pulumi.StringPtrOutput
The protection level to use when creating a version based on this template. Default value is `SOFTWARE`. Possible values are `SOFTWARE` and `HSM`.
func (CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplateOutput ¶
func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplateOutput() CryptoKeyVersionTemplateOutput
func (CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplateOutputWithContext ¶
func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) CryptoKeyVersionTemplateOutput
func (CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutput ¶
func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput
func (CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutputWithContext ¶
func (o CryptoKeyVersionTemplateOutput) ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx context.Context) CryptoKeyVersionTemplatePtrOutput
type CryptoKeyVersionTemplatePtrInput ¶
type CryptoKeyVersionTemplatePtrInput interface { pulumi.Input ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput ToCryptoKeyVersionTemplatePtrOutputWithContext(context.Context) CryptoKeyVersionTemplatePtrOutput }
CryptoKeyVersionTemplatePtrInput is an input type that accepts CryptoKeyVersionTemplateArgs, CryptoKeyVersionTemplatePtr and CryptoKeyVersionTemplatePtrOutput values. You can construct a concrete instance of `CryptoKeyVersionTemplatePtrInput` via:
CryptoKeyVersionTemplateArgs{...} or: nil
func CryptoKeyVersionTemplatePtr ¶
func CryptoKeyVersionTemplatePtr(v *CryptoKeyVersionTemplateArgs) CryptoKeyVersionTemplatePtrInput
type CryptoKeyVersionTemplatePtrOutput ¶
type CryptoKeyVersionTemplatePtrOutput struct{ *pulumi.OutputState }
func (CryptoKeyVersionTemplatePtrOutput) Algorithm ¶
func (o CryptoKeyVersionTemplatePtrOutput) Algorithm() pulumi.StringPtrOutput
The algorithm to use when creating a version based on this template. See the [algorithm reference](https://cloud.google.com/kms/docs/reference/rest/v1/CryptoKeyVersionAlgorithm) for possible inputs.
func (CryptoKeyVersionTemplatePtrOutput) Elem ¶
func (o CryptoKeyVersionTemplatePtrOutput) Elem() CryptoKeyVersionTemplateOutput
func (CryptoKeyVersionTemplatePtrOutput) ElementType ¶
func (CryptoKeyVersionTemplatePtrOutput) ElementType() reflect.Type
func (CryptoKeyVersionTemplatePtrOutput) ProtectionLevel ¶
func (o CryptoKeyVersionTemplatePtrOutput) ProtectionLevel() pulumi.StringPtrOutput
The protection level to use when creating a version based on this template. Default value is `SOFTWARE`. Possible values are `SOFTWARE` and `HSM`.
func (CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutput ¶
func (o CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutput() CryptoKeyVersionTemplatePtrOutput
func (CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutputWithContext ¶
func (o CryptoKeyVersionTemplatePtrOutput) ToCryptoKeyVersionTemplatePtrOutputWithContext(ctx context.Context) CryptoKeyVersionTemplatePtrOutput
type GetKMSCryptoKeyArgs ¶
type GetKMSCryptoKeyArgs struct { // The `selfLink` of the Google Cloud Platform KeyRing to which the key belongs. KeyRing string `pulumi:"keyRing"` // The CryptoKey's name. // A CryptoKey’s name belonging to the specified Google Cloud Platform KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}` Name string `pulumi:"name"` }
A collection of arguments for invoking getKMSCryptoKey.
type GetKMSCryptoKeyResult ¶
type GetKMSCryptoKeyResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KeyRing string `pulumi:"keyRing"` Labels map[string]string `pulumi:"labels"` Name string `pulumi:"name"` // Defines the cryptographic capabilities of the key. Purpose string `pulumi:"purpose"` // Every time this period passes, generate a new CryptoKeyVersion and set it as // the primary. The first rotation will take place after the specified period. The rotation period has the format // of a decimal number with up to 9 fractional digits, followed by the letter s (seconds). RotationPeriod string `pulumi:"rotationPeriod"` // The self link of the created CryptoKey. Its format is `projects/{projectId}/locations/{location}/keyRings/{keyRingName}/cryptoKeys/{cryptoKeyName}`. SelfLink string `pulumi:"selfLink"` VersionTemplates []GetKMSCryptoKeyVersionTemplate `pulumi:"versionTemplates"` }
A collection of values returned by getKMSCryptoKey.
func GetKMSCryptoKey ¶
func GetKMSCryptoKey(ctx *pulumi.Context, args *GetKMSCryptoKeyArgs, opts ...pulumi.InvokeOption) (*GetKMSCryptoKeyResult, error)
Provides access to a Google Cloud Platform KMS CryptoKey. For more information see [the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key) and [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys).
A CryptoKey is an interface to key material which can be used to encrypt and decrypt data. A CryptoKey belongs to a Google Cloud KMS KeyRing.
type GetKMSCryptoKeyVersionArgs ¶
type GetKMSCryptoKeyVersionArgs struct { // The `selfLink` of the Google Cloud Platform CryptoKey to which the key version belongs. CryptoKey string `pulumi:"cryptoKey"` // The version number for this CryptoKeyVersion. Defaults to `1`. Version *int `pulumi:"version"` }
A collection of arguments for invoking getKMSCryptoKeyVersion.
type GetKMSCryptoKeyVersionPublicKey ¶
type GetKMSCryptoKeyVersionPublicKey struct { // The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. Algorithm string `pulumi:"algorithm"` // The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info. Pem string `pulumi:"pem"` }
type GetKMSCryptoKeyVersionPublicKeyArgs ¶
type GetKMSCryptoKeyVersionPublicKeyArgs struct { // The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. Algorithm pulumi.StringInput `pulumi:"algorithm"` // The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info. Pem pulumi.StringInput `pulumi:"pem"` }
func (GetKMSCryptoKeyVersionPublicKeyArgs) ElementType ¶
func (GetKMSCryptoKeyVersionPublicKeyArgs) ElementType() reflect.Type
func (GetKMSCryptoKeyVersionPublicKeyArgs) ToGetKMSCryptoKeyVersionPublicKeyOutput ¶
func (i GetKMSCryptoKeyVersionPublicKeyArgs) ToGetKMSCryptoKeyVersionPublicKeyOutput() GetKMSCryptoKeyVersionPublicKeyOutput
func (GetKMSCryptoKeyVersionPublicKeyArgs) ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext ¶
func (i GetKMSCryptoKeyVersionPublicKeyArgs) ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionPublicKeyOutput
type GetKMSCryptoKeyVersionPublicKeyInput ¶
type GetKMSCryptoKeyVersionPublicKeyInput interface { pulumi.Input ToGetKMSCryptoKeyVersionPublicKeyOutput() GetKMSCryptoKeyVersionPublicKeyOutput ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext(context.Context) GetKMSCryptoKeyVersionPublicKeyOutput }
GetKMSCryptoKeyVersionPublicKeyInput is an input type that accepts GetKMSCryptoKeyVersionPublicKeyArgs and GetKMSCryptoKeyVersionPublicKeyOutput values. You can construct a concrete instance of `GetKMSCryptoKeyVersionPublicKeyInput` via:
GetKMSCryptoKeyVersionPublicKeyArgs{...}
type GetKMSCryptoKeyVersionPublicKeyOutput ¶
type GetKMSCryptoKeyVersionPublicKeyOutput struct{ *pulumi.OutputState }
func (GetKMSCryptoKeyVersionPublicKeyOutput) Algorithm ¶
func (o GetKMSCryptoKeyVersionPublicKeyOutput) Algorithm() pulumi.StringOutput
The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
func (GetKMSCryptoKeyVersionPublicKeyOutput) ElementType ¶
func (GetKMSCryptoKeyVersionPublicKeyOutput) ElementType() reflect.Type
func (GetKMSCryptoKeyVersionPublicKeyOutput) Pem ¶
func (o GetKMSCryptoKeyVersionPublicKeyOutput) Pem() pulumi.StringOutput
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info.
func (GetKMSCryptoKeyVersionPublicKeyOutput) ToGetKMSCryptoKeyVersionPublicKeyOutput ¶
func (o GetKMSCryptoKeyVersionPublicKeyOutput) ToGetKMSCryptoKeyVersionPublicKeyOutput() GetKMSCryptoKeyVersionPublicKeyOutput
func (GetKMSCryptoKeyVersionPublicKeyOutput) ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext ¶
func (o GetKMSCryptoKeyVersionPublicKeyOutput) ToGetKMSCryptoKeyVersionPublicKeyOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionPublicKeyOutput
type GetKMSCryptoKeyVersionResult ¶
type GetKMSCryptoKeyVersionResult struct { // The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports. Algorithm string `pulumi:"algorithm"` CryptoKey string `pulumi:"cryptoKey"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ProtectionLevel describing how crypto operations are performed with this CryptoKeyVersion. See the [protectionLevel reference](https://cloud.google.com/kms/docs/reference/rest/v1/ProtectionLevel) for possible outputs. ProtectionLevel string `pulumi:"protectionLevel"` // If the enclosing CryptoKey has purpose `ASYMMETRIC_SIGN` or `ASYMMETRIC_DECRYPT`, this block contains details about the public key associated to this CryptoKeyVersion. Structure is documented below. PublicKey GetKMSCryptoKeyVersionPublicKey `pulumi:"publicKey"` // The current state of the CryptoKeyVersion. See the [state reference](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions#CryptoKeyVersion.CryptoKeyVersionState) for possible outputs. State string `pulumi:"state"` Version *int `pulumi:"version"` }
A collection of values returned by getKMSCryptoKeyVersion.
func GetKMSCryptoKeyVersion ¶
func GetKMSCryptoKeyVersion(ctx *pulumi.Context, args *GetKMSCryptoKeyVersionArgs, opts ...pulumi.InvokeOption) (*GetKMSCryptoKeyVersionResult, error)
Provides access to a Google Cloud Platform KMS CryptoKeyVersion. For more information see [the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key_version) and [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions).
A CryptoKeyVersion represents an individual cryptographic key, and the associated key material.
type GetKMSCryptoKeyVersionTemplateArgs ¶
type GetKMSCryptoKeyVersionTemplateArgs struct { Algorithm pulumi.StringInput `pulumi:"algorithm"` ProtectionLevel pulumi.StringInput `pulumi:"protectionLevel"` }
func (GetKMSCryptoKeyVersionTemplateArgs) ElementType ¶
func (GetKMSCryptoKeyVersionTemplateArgs) ElementType() reflect.Type
func (GetKMSCryptoKeyVersionTemplateArgs) ToGetKMSCryptoKeyVersionTemplateOutput ¶
func (i GetKMSCryptoKeyVersionTemplateArgs) ToGetKMSCryptoKeyVersionTemplateOutput() GetKMSCryptoKeyVersionTemplateOutput
func (GetKMSCryptoKeyVersionTemplateArgs) ToGetKMSCryptoKeyVersionTemplateOutputWithContext ¶
func (i GetKMSCryptoKeyVersionTemplateArgs) ToGetKMSCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateOutput
type GetKMSCryptoKeyVersionTemplateArray ¶
type GetKMSCryptoKeyVersionTemplateArray []GetKMSCryptoKeyVersionTemplateInput
func (GetKMSCryptoKeyVersionTemplateArray) ElementType ¶
func (GetKMSCryptoKeyVersionTemplateArray) ElementType() reflect.Type
func (GetKMSCryptoKeyVersionTemplateArray) ToGetKMSCryptoKeyVersionTemplateArrayOutput ¶
func (i GetKMSCryptoKeyVersionTemplateArray) ToGetKMSCryptoKeyVersionTemplateArrayOutput() GetKMSCryptoKeyVersionTemplateArrayOutput
func (GetKMSCryptoKeyVersionTemplateArray) ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext ¶
func (i GetKMSCryptoKeyVersionTemplateArray) ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateArrayOutput
type GetKMSCryptoKeyVersionTemplateArrayInput ¶
type GetKMSCryptoKeyVersionTemplateArrayInput interface { pulumi.Input ToGetKMSCryptoKeyVersionTemplateArrayOutput() GetKMSCryptoKeyVersionTemplateArrayOutput ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext(context.Context) GetKMSCryptoKeyVersionTemplateArrayOutput }
GetKMSCryptoKeyVersionTemplateArrayInput is an input type that accepts GetKMSCryptoKeyVersionTemplateArray and GetKMSCryptoKeyVersionTemplateArrayOutput values. You can construct a concrete instance of `GetKMSCryptoKeyVersionTemplateArrayInput` via:
GetKMSCryptoKeyVersionTemplateArray{ GetKMSCryptoKeyVersionTemplateArgs{...} }
type GetKMSCryptoKeyVersionTemplateArrayOutput ¶
type GetKMSCryptoKeyVersionTemplateArrayOutput struct{ *pulumi.OutputState }
func (GetKMSCryptoKeyVersionTemplateArrayOutput) ElementType ¶
func (GetKMSCryptoKeyVersionTemplateArrayOutput) ElementType() reflect.Type
func (GetKMSCryptoKeyVersionTemplateArrayOutput) ToGetKMSCryptoKeyVersionTemplateArrayOutput ¶
func (o GetKMSCryptoKeyVersionTemplateArrayOutput) ToGetKMSCryptoKeyVersionTemplateArrayOutput() GetKMSCryptoKeyVersionTemplateArrayOutput
func (GetKMSCryptoKeyVersionTemplateArrayOutput) ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext ¶
func (o GetKMSCryptoKeyVersionTemplateArrayOutput) ToGetKMSCryptoKeyVersionTemplateArrayOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateArrayOutput
type GetKMSCryptoKeyVersionTemplateInput ¶
type GetKMSCryptoKeyVersionTemplateInput interface { pulumi.Input ToGetKMSCryptoKeyVersionTemplateOutput() GetKMSCryptoKeyVersionTemplateOutput ToGetKMSCryptoKeyVersionTemplateOutputWithContext(context.Context) GetKMSCryptoKeyVersionTemplateOutput }
GetKMSCryptoKeyVersionTemplateInput is an input type that accepts GetKMSCryptoKeyVersionTemplateArgs and GetKMSCryptoKeyVersionTemplateOutput values. You can construct a concrete instance of `GetKMSCryptoKeyVersionTemplateInput` via:
GetKMSCryptoKeyVersionTemplateArgs{...}
type GetKMSCryptoKeyVersionTemplateOutput ¶
type GetKMSCryptoKeyVersionTemplateOutput struct{ *pulumi.OutputState }
func (GetKMSCryptoKeyVersionTemplateOutput) Algorithm ¶
func (o GetKMSCryptoKeyVersionTemplateOutput) Algorithm() pulumi.StringOutput
func (GetKMSCryptoKeyVersionTemplateOutput) ElementType ¶
func (GetKMSCryptoKeyVersionTemplateOutput) ElementType() reflect.Type
func (GetKMSCryptoKeyVersionTemplateOutput) ProtectionLevel ¶
func (o GetKMSCryptoKeyVersionTemplateOutput) ProtectionLevel() pulumi.StringOutput
func (GetKMSCryptoKeyVersionTemplateOutput) ToGetKMSCryptoKeyVersionTemplateOutput ¶
func (o GetKMSCryptoKeyVersionTemplateOutput) ToGetKMSCryptoKeyVersionTemplateOutput() GetKMSCryptoKeyVersionTemplateOutput
func (GetKMSCryptoKeyVersionTemplateOutput) ToGetKMSCryptoKeyVersionTemplateOutputWithContext ¶
func (o GetKMSCryptoKeyVersionTemplateOutput) ToGetKMSCryptoKeyVersionTemplateOutputWithContext(ctx context.Context) GetKMSCryptoKeyVersionTemplateOutput
type GetKMSKeyRingArgs ¶
type GetKMSKeyRingArgs struct { // The Google Cloud Platform location for the KeyRing. // A full list of valid locations can be found by running `gcloud kms locations list`. Location string `pulumi:"location"` // The KeyRing's name. // A KeyRing name must exist within the provided location and match the regular expression `[a-zA-Z0-9_-]{1,63}` Name string `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getKMSKeyRing.
type GetKMSKeyRingResult ¶
type GetKMSKeyRingResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` Name string `pulumi:"name"` Project *string `pulumi:"project"` // The self link of the created KeyRing. Its format is `projects/{projectId}/locations/{location}/keyRings/{keyRingName}`. SelfLink string `pulumi:"selfLink"` }
A collection of values returned by getKMSKeyRing.
func GetKMSKeyRing ¶
func GetKMSKeyRing(ctx *pulumi.Context, args *GetKMSKeyRingArgs, opts ...pulumi.InvokeOption) (*GetKMSKeyRingResult, error)
Provides access to Google Cloud Platform KMS KeyRing. For more information see [the official documentation](https://cloud.google.com/kms/docs/object-hierarchy#key_ring) and [API](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings).
A KeyRing is a grouping of CryptoKeys for organizational purposes. A KeyRing belongs to a Google Cloud Platform Project and resides in a specific location.
type GetKMSSecretArgs ¶
type GetKMSSecretArgs struct { // The [additional authenticated data](https://cloud.google.com/kms/docs/additional-authenticated-data) used for integrity checks during encryption and decryption. AdditionalAuthenticatedData *string `pulumi:"additionalAuthenticatedData"` // The ciphertext to be decrypted, encoded in base64 Ciphertext string `pulumi:"ciphertext"` // The id of the CryptoKey that will be used to // decrypt the provided ciphertext. This is represented by the format // `{projectId}/{location}/{keyRingName}/{cryptoKeyName}`. CryptoKey string `pulumi:"cryptoKey"` }
A collection of arguments for invoking getKMSSecret.
type GetKMSSecretCiphertextArgs ¶
type GetKMSSecretCiphertextArgs struct { // The id of the CryptoKey that will be used to // encrypt the provided plaintext. This is represented by the format // `{projectId}/{location}/{keyRingName}/{cryptoKeyName}`. CryptoKey string `pulumi:"cryptoKey"` // The plaintext to be encrypted Plaintext string `pulumi:"plaintext"` }
A collection of arguments for invoking getKMSSecretCiphertext.
type GetKMSSecretCiphertextResult ¶
type GetKMSSecretCiphertextResult struct { // Contains the result of encrypting the provided plaintext, encoded in base64. Ciphertext string `pulumi:"ciphertext"` CryptoKey string `pulumi:"cryptoKey"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Plaintext string `pulumi:"plaintext"` }
A collection of values returned by getKMSSecretCiphertext.
func GetKMSSecretCiphertext ¶
func GetKMSSecretCiphertext(ctx *pulumi.Context, args *GetKMSSecretCiphertextArgs, opts ...pulumi.InvokeOption) (*GetKMSSecretCiphertextResult, error)
!> **Warning:** This data source is deprecated. Use the `kms.SecretCiphertext` **resource** instead.
This data source allows you to encrypt data with Google Cloud KMS and use the ciphertext within your resource definitions.
For more information see [the official documentation](https://cloud.google.com/kms/docs/encrypt-decrypt).
> **NOTE:** Using this data source will allow you to conceal secret data within your resource definitions, but it does not take care of protecting that data in the logging output, plan output, or state output. Please take care to secure your secret data outside of resource definitions.
type GetKMSSecretResult ¶
type GetKMSSecretResult struct { AdditionalAuthenticatedData *string `pulumi:"additionalAuthenticatedData"` Ciphertext string `pulumi:"ciphertext"` CryptoKey string `pulumi:"cryptoKey"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Contains the result of decrypting the provided ciphertext. Plaintext string `pulumi:"plaintext"` }
A collection of values returned by getKMSSecret.
func GetKMSSecret ¶
func GetKMSSecret(ctx *pulumi.Context, args *GetKMSSecretArgs, opts ...pulumi.InvokeOption) (*GetKMSSecretResult, error)
This data source allows you to use data encrypted with Google Cloud KMS within your resource definitions.
For more information see [the official documentation](https://cloud.google.com/kms/docs/encrypt-decrypt).
> **NOTE:** Using this data provider will allow you to conceal secret data within your resource definitions, but it does not take care of protecting that data in the logging output, plan output, or state output. Please take care to secure your secret data outside of resource definitions.
type KeyRing ¶
type KeyRing struct { pulumi.CustomResourceState // The location for the KeyRing. // A full list of valid locations can be found by running `gcloud kms locations list`. Location pulumi.StringOutput `pulumi:"location"` // The resource name for the KeyRing. 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"` SelfLink pulumi.StringOutput `pulumi:"selfLink"` }
A `KeyRing` is a toplevel logical grouping of `CryptoKeys`.
> **Note:** KeyRings cannot be deleted from Google Cloud Platform. Destroying a provider-managed KeyRing will remove it from state but *will not delete the resource on the server.*
To get more information about KeyRing, see:
* [API documentation](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings) * How-to Guides
- [Creating a key ring](https://cloud.google.com/kms/docs/creating-keys#create_a_key_ring)
## Example Usage
func GetKeyRing ¶
func GetKeyRing(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyRingState, opts ...pulumi.ResourceOption) (*KeyRing, error)
GetKeyRing gets an existing KeyRing 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 NewKeyRing ¶
func NewKeyRing(ctx *pulumi.Context, name string, args *KeyRingArgs, opts ...pulumi.ResourceOption) (*KeyRing, error)
NewKeyRing registers a new resource with the given unique name, arguments, and options.
type KeyRingArgs ¶
type KeyRingArgs struct { // The location for the KeyRing. // A full list of valid locations can be found by running `gcloud kms locations list`. Location pulumi.StringInput // The resource name for the KeyRing. 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 set of arguments for constructing a KeyRing resource.
func (KeyRingArgs) ElementType ¶
func (KeyRingArgs) ElementType() reflect.Type
type KeyRingIAMBinding ¶
type KeyRingIAMBinding struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition KeyRingIAMBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the key ring's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringOutput `pulumi:"keyRingId"` Members pulumi.StringArrayOutput `pulumi:"members"` // The role that should be applied. Only one // `kms.KeyRingIAMBinding` 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"` }
Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:
* `kms.KeyRingIAMPolicy`: Authoritative. Sets the IAM policy for the key ring and replaces any existing policy already attached. * `kms.KeyRingIAMBinding`: 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 key ring are preserved. * `kms.KeyRingIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the key ring are preserved.
> **Note:** `kms.KeyRingIAMPolicy` **cannot** be used in conjunction with `kms.KeyRingIAMBinding` and `kms.KeyRingIAMMember` or they will fight over what your policy should be.
> **Note:** `kms.KeyRingIAMBinding` resources **can be** used in conjunction with `kms.KeyRingIAMMember` resources **only if** they do not grant privilege to the same role.
func GetKeyRingIAMBinding ¶
func GetKeyRingIAMBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyRingIAMBindingState, opts ...pulumi.ResourceOption) (*KeyRingIAMBinding, error)
GetKeyRingIAMBinding gets an existing KeyRingIAMBinding 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 NewKeyRingIAMBinding ¶
func NewKeyRingIAMBinding(ctx *pulumi.Context, name string, args *KeyRingIAMBindingArgs, opts ...pulumi.ResourceOption) (*KeyRingIAMBinding, error)
NewKeyRingIAMBinding registers a new resource with the given unique name, arguments, and options.
type KeyRingIAMBindingArgs ¶
type KeyRingIAMBindingArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition KeyRingIAMBindingConditionPtrInput // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringInput Members pulumi.StringArrayInput // The role that should be applied. Only one // `kms.KeyRingIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a KeyRingIAMBinding resource.
func (KeyRingIAMBindingArgs) ElementType ¶
func (KeyRingIAMBindingArgs) ElementType() reflect.Type
type KeyRingIAMBindingCondition ¶
type KeyRingIAMBindingCondition struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type KeyRingIAMBindingConditionArgs ¶
type KeyRingIAMBindingConditionArgs struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (KeyRingIAMBindingConditionArgs) ElementType ¶
func (KeyRingIAMBindingConditionArgs) ElementType() reflect.Type
func (KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionOutput ¶
func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionOutput() KeyRingIAMBindingConditionOutput
func (KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionOutputWithContext ¶
func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionOutput
func (KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionPtrOutput ¶
func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput
func (KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionPtrOutputWithContext ¶
func (i KeyRingIAMBindingConditionArgs) ToKeyRingIAMBindingConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionPtrOutput
type KeyRingIAMBindingConditionInput ¶
type KeyRingIAMBindingConditionInput interface { pulumi.Input ToKeyRingIAMBindingConditionOutput() KeyRingIAMBindingConditionOutput ToKeyRingIAMBindingConditionOutputWithContext(context.Context) KeyRingIAMBindingConditionOutput }
KeyRingIAMBindingConditionInput is an input type that accepts KeyRingIAMBindingConditionArgs and KeyRingIAMBindingConditionOutput values. You can construct a concrete instance of `KeyRingIAMBindingConditionInput` via:
KeyRingIAMBindingConditionArgs{...}
type KeyRingIAMBindingConditionOutput ¶
type KeyRingIAMBindingConditionOutput struct{ *pulumi.OutputState }
func (KeyRingIAMBindingConditionOutput) Description ¶
func (o KeyRingIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (KeyRingIAMBindingConditionOutput) ElementType ¶
func (KeyRingIAMBindingConditionOutput) ElementType() reflect.Type
func (KeyRingIAMBindingConditionOutput) Expression ¶
func (o KeyRingIAMBindingConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (KeyRingIAMBindingConditionOutput) Title ¶
func (o KeyRingIAMBindingConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionOutput ¶
func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionOutput() KeyRingIAMBindingConditionOutput
func (KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionOutputWithContext ¶
func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionOutput
func (KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionPtrOutput ¶
func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput
func (KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionPtrOutputWithContext ¶
func (o KeyRingIAMBindingConditionOutput) ToKeyRingIAMBindingConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionPtrOutput
type KeyRingIAMBindingConditionPtrInput ¶
type KeyRingIAMBindingConditionPtrInput interface { pulumi.Input ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput ToKeyRingIAMBindingConditionPtrOutputWithContext(context.Context) KeyRingIAMBindingConditionPtrOutput }
KeyRingIAMBindingConditionPtrInput is an input type that accepts KeyRingIAMBindingConditionArgs, KeyRingIAMBindingConditionPtr and KeyRingIAMBindingConditionPtrOutput values. You can construct a concrete instance of `KeyRingIAMBindingConditionPtrInput` via:
KeyRingIAMBindingConditionArgs{...} or: nil
func KeyRingIAMBindingConditionPtr ¶
func KeyRingIAMBindingConditionPtr(v *KeyRingIAMBindingConditionArgs) KeyRingIAMBindingConditionPtrInput
type KeyRingIAMBindingConditionPtrOutput ¶
type KeyRingIAMBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (KeyRingIAMBindingConditionPtrOutput) Description ¶
func (o KeyRingIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (KeyRingIAMBindingConditionPtrOutput) Elem ¶
func (o KeyRingIAMBindingConditionPtrOutput) Elem() KeyRingIAMBindingConditionOutput
func (KeyRingIAMBindingConditionPtrOutput) ElementType ¶
func (KeyRingIAMBindingConditionPtrOutput) ElementType() reflect.Type
func (KeyRingIAMBindingConditionPtrOutput) Expression ¶
func (o KeyRingIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (KeyRingIAMBindingConditionPtrOutput) Title ¶
func (o KeyRingIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (KeyRingIAMBindingConditionPtrOutput) ToKeyRingIAMBindingConditionPtrOutput ¶
func (o KeyRingIAMBindingConditionPtrOutput) ToKeyRingIAMBindingConditionPtrOutput() KeyRingIAMBindingConditionPtrOutput
func (KeyRingIAMBindingConditionPtrOutput) ToKeyRingIAMBindingConditionPtrOutputWithContext ¶
func (o KeyRingIAMBindingConditionPtrOutput) ToKeyRingIAMBindingConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMBindingConditionPtrOutput
type KeyRingIAMBindingState ¶
type KeyRingIAMBindingState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition KeyRingIAMBindingConditionPtrInput // (Computed) The etag of the key ring's IAM policy. Etag pulumi.StringPtrInput // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringPtrInput Members pulumi.StringArrayInput // The role that should be applied. Only one // `kms.KeyRingIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (KeyRingIAMBindingState) ElementType ¶
func (KeyRingIAMBindingState) ElementType() reflect.Type
type KeyRingIAMMember ¶
type KeyRingIAMMember struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition KeyRingIAMMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the key ring's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringOutput `pulumi:"keyRingId"` Member pulumi.StringOutput `pulumi:"member"` // The role that should be applied. Only one // `kms.KeyRingIAMBinding` 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"` }
Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:
* `kms.KeyRingIAMPolicy`: Authoritative. Sets the IAM policy for the key ring and replaces any existing policy already attached. * `kms.KeyRingIAMBinding`: 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 key ring are preserved. * `kms.KeyRingIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the key ring are preserved.
> **Note:** `kms.KeyRingIAMPolicy` **cannot** be used in conjunction with `kms.KeyRingIAMBinding` and `kms.KeyRingIAMMember` or they will fight over what your policy should be.
> **Note:** `kms.KeyRingIAMBinding` resources **can be** used in conjunction with `kms.KeyRingIAMMember` resources **only if** they do not grant privilege to the same role.
func GetKeyRingIAMMember ¶
func GetKeyRingIAMMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyRingIAMMemberState, opts ...pulumi.ResourceOption) (*KeyRingIAMMember, error)
GetKeyRingIAMMember gets an existing KeyRingIAMMember 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 NewKeyRingIAMMember ¶
func NewKeyRingIAMMember(ctx *pulumi.Context, name string, args *KeyRingIAMMemberArgs, opts ...pulumi.ResourceOption) (*KeyRingIAMMember, error)
NewKeyRingIAMMember registers a new resource with the given unique name, arguments, and options.
type KeyRingIAMMemberArgs ¶
type KeyRingIAMMemberArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition KeyRingIAMMemberConditionPtrInput // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringInput Member pulumi.StringInput // The role that should be applied. Only one // `kms.KeyRingIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a KeyRingIAMMember resource.
func (KeyRingIAMMemberArgs) ElementType ¶
func (KeyRingIAMMemberArgs) ElementType() reflect.Type
type KeyRingIAMMemberCondition ¶
type KeyRingIAMMemberCondition struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type KeyRingIAMMemberConditionArgs ¶
type KeyRingIAMMemberConditionArgs struct { // An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (KeyRingIAMMemberConditionArgs) ElementType ¶
func (KeyRingIAMMemberConditionArgs) ElementType() reflect.Type
func (KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionOutput ¶
func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionOutput() KeyRingIAMMemberConditionOutput
func (KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionOutputWithContext ¶
func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionOutput
func (KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionPtrOutput ¶
func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput
func (KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionPtrOutputWithContext ¶
func (i KeyRingIAMMemberConditionArgs) ToKeyRingIAMMemberConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionPtrOutput
type KeyRingIAMMemberConditionInput ¶
type KeyRingIAMMemberConditionInput interface { pulumi.Input ToKeyRingIAMMemberConditionOutput() KeyRingIAMMemberConditionOutput ToKeyRingIAMMemberConditionOutputWithContext(context.Context) KeyRingIAMMemberConditionOutput }
KeyRingIAMMemberConditionInput is an input type that accepts KeyRingIAMMemberConditionArgs and KeyRingIAMMemberConditionOutput values. You can construct a concrete instance of `KeyRingIAMMemberConditionInput` via:
KeyRingIAMMemberConditionArgs{...}
type KeyRingIAMMemberConditionOutput ¶
type KeyRingIAMMemberConditionOutput struct{ *pulumi.OutputState }
func (KeyRingIAMMemberConditionOutput) Description ¶
func (o KeyRingIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (KeyRingIAMMemberConditionOutput) ElementType ¶
func (KeyRingIAMMemberConditionOutput) ElementType() reflect.Type
func (KeyRingIAMMemberConditionOutput) Expression ¶
func (o KeyRingIAMMemberConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (KeyRingIAMMemberConditionOutput) Title ¶
func (o KeyRingIAMMemberConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionOutput ¶
func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionOutput() KeyRingIAMMemberConditionOutput
func (KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionOutputWithContext ¶
func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionOutput
func (KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionPtrOutput ¶
func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput
func (KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionPtrOutputWithContext ¶
func (o KeyRingIAMMemberConditionOutput) ToKeyRingIAMMemberConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionPtrOutput
type KeyRingIAMMemberConditionPtrInput ¶
type KeyRingIAMMemberConditionPtrInput interface { pulumi.Input ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput ToKeyRingIAMMemberConditionPtrOutputWithContext(context.Context) KeyRingIAMMemberConditionPtrOutput }
KeyRingIAMMemberConditionPtrInput is an input type that accepts KeyRingIAMMemberConditionArgs, KeyRingIAMMemberConditionPtr and KeyRingIAMMemberConditionPtrOutput values. You can construct a concrete instance of `KeyRingIAMMemberConditionPtrInput` via:
KeyRingIAMMemberConditionArgs{...} or: nil
func KeyRingIAMMemberConditionPtr ¶
func KeyRingIAMMemberConditionPtr(v *KeyRingIAMMemberConditionArgs) KeyRingIAMMemberConditionPtrInput
type KeyRingIAMMemberConditionPtrOutput ¶
type KeyRingIAMMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (KeyRingIAMMemberConditionPtrOutput) Description ¶
func (o KeyRingIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
An optional description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (KeyRingIAMMemberConditionPtrOutput) Elem ¶
func (o KeyRingIAMMemberConditionPtrOutput) Elem() KeyRingIAMMemberConditionOutput
func (KeyRingIAMMemberConditionPtrOutput) ElementType ¶
func (KeyRingIAMMemberConditionPtrOutput) ElementType() reflect.Type
func (KeyRingIAMMemberConditionPtrOutput) Expression ¶
func (o KeyRingIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (KeyRingIAMMemberConditionPtrOutput) Title ¶
func (o KeyRingIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (KeyRingIAMMemberConditionPtrOutput) ToKeyRingIAMMemberConditionPtrOutput ¶
func (o KeyRingIAMMemberConditionPtrOutput) ToKeyRingIAMMemberConditionPtrOutput() KeyRingIAMMemberConditionPtrOutput
func (KeyRingIAMMemberConditionPtrOutput) ToKeyRingIAMMemberConditionPtrOutputWithContext ¶
func (o KeyRingIAMMemberConditionPtrOutput) ToKeyRingIAMMemberConditionPtrOutputWithContext(ctx context.Context) KeyRingIAMMemberConditionPtrOutput
type KeyRingIAMMemberState ¶
type KeyRingIAMMemberState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition KeyRingIAMMemberConditionPtrInput // (Computed) The etag of the key ring's IAM policy. Etag pulumi.StringPtrInput // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringPtrInput Member pulumi.StringPtrInput // The role that should be applied. Only one // `kms.KeyRingIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (KeyRingIAMMemberState) ElementType ¶
func (KeyRingIAMMemberState) ElementType() reflect.Type
type KeyRingIAMPolicy ¶
type KeyRingIAMPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the key ring's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringOutput `pulumi:"keyRingId"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` }
Three different resources help you manage your IAM policy for KMS key ring. Each of these resources serves a different use case:
* `kms.KeyRingIAMPolicy`: Authoritative. Sets the IAM policy for the key ring and replaces any existing policy already attached. * `kms.KeyRingIAMBinding`: 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 key ring are preserved. * `kms.KeyRingIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the key ring are preserved.
> **Note:** `kms.KeyRingIAMPolicy` **cannot** be used in conjunction with `kms.KeyRingIAMBinding` and `kms.KeyRingIAMMember` or they will fight over what your policy should be.
> **Note:** `kms.KeyRingIAMBinding` resources **can be** used in conjunction with `kms.KeyRingIAMMember` resources **only if** they do not grant privilege to the same role.
func GetKeyRingIAMPolicy ¶
func GetKeyRingIAMPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyRingIAMPolicyState, opts ...pulumi.ResourceOption) (*KeyRingIAMPolicy, error)
GetKeyRingIAMPolicy gets an existing KeyRingIAMPolicy 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 NewKeyRingIAMPolicy ¶
func NewKeyRingIAMPolicy(ctx *pulumi.Context, name string, args *KeyRingIAMPolicyArgs, opts ...pulumi.ResourceOption) (*KeyRingIAMPolicy, error)
NewKeyRingIAMPolicy registers a new resource with the given unique name, arguments, and options.
type KeyRingIAMPolicyArgs ¶
type KeyRingIAMPolicyArgs struct { // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput }
The set of arguments for constructing a KeyRingIAMPolicy resource.
func (KeyRingIAMPolicyArgs) ElementType ¶
func (KeyRingIAMPolicyArgs) ElementType() reflect.Type
type KeyRingIAMPolicyState ¶
type KeyRingIAMPolicyState struct { // (Computed) The etag of the key ring's IAM policy. Etag pulumi.StringPtrInput // The key ring ID, in the form // `{project_id}/{location_name}/{key_ring_name}` or // `{location_name}/{key_ring_name}`. In the second form, the provider's // project setting will be used as a fallback. KeyRingId pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput }
func (KeyRingIAMPolicyState) ElementType ¶
func (KeyRingIAMPolicyState) ElementType() reflect.Type
type KeyRingImportJob ¶ added in v3.13.0
type KeyRingImportJob struct { pulumi.CustomResourceState // Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this // statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen // ImportMethod is one with a protection level of HSM. Attestation KeyRingImportJobAttestationOutput `pulumi:"attestation"` // The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format. ExpireTime pulumi.StringOutput `pulumi:"expireTime"` // It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63} ImportJobId pulumi.StringOutput `pulumi:"importJobId"` // The wrapping method to be used for incoming key material. // Possible values are `RSA_OAEP_3072_SHA1_AES_256` and `RSA_OAEP_4096_SHA1_AES_256`. ImportMethod pulumi.StringOutput `pulumi:"importMethod"` // The KeyRing that this import job belongs to. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'`. KeyRing pulumi.StringOutput `pulumi:"keyRing"` // The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*. Name pulumi.StringOutput `pulumi:"name"` // The protection level of the ImportJob. This must match the protectionLevel of the // versionTemplate on the CryptoKey you attempt to import into. // Possible values are `SOFTWARE`, `HSM`, and `EXTERNAL`. ProtectionLevel pulumi.StringOutput `pulumi:"protectionLevel"` // The public key with which to wrap key material prior to import. Only returned if state is 'ACTIVE'. PublicKey KeyRingImportJobPublicKeyOutput `pulumi:"publicKey"` // The current state of the ImportJob, indicating if it can be used. State pulumi.StringOutput `pulumi:"state"` }
A `KeyRingImportJob` can be used to create `CryptoKeys` and `CryptoKeyVersions` using pre-existing key material, generated outside of Cloud KMS. A `KeyRingImportJob` expires 3 days after it is created. Once expired, Cloud KMS will no longer be able to import or unwrap any key material that was wrapped with the `KeyRingImportJob`'s public key.
> **Note:** KeyRingImportJobs cannot be deleted from Google Cloud Platform. Destroying a KeyRingImportJob will remove it from state but *will not delete the resource on the server.*
To get more information about KeyRingImportJob, see:
* [API documentation](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.importJobs) * How-to Guides
- [Importing a key](https://cloud.google.com/kms/docs/importing-a-key)
## Example Usage
func GetKeyRingImportJob ¶ added in v3.13.0
func GetKeyRingImportJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KeyRingImportJobState, opts ...pulumi.ResourceOption) (*KeyRingImportJob, error)
GetKeyRingImportJob gets an existing KeyRingImportJob 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 NewKeyRingImportJob ¶ added in v3.13.0
func NewKeyRingImportJob(ctx *pulumi.Context, name string, args *KeyRingImportJobArgs, opts ...pulumi.ResourceOption) (*KeyRingImportJob, error)
NewKeyRingImportJob registers a new resource with the given unique name, arguments, and options.
type KeyRingImportJobArgs ¶ added in v3.13.0
type KeyRingImportJobArgs struct { // It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63} ImportJobId pulumi.StringInput // The wrapping method to be used for incoming key material. // Possible values are `RSA_OAEP_3072_SHA1_AES_256` and `RSA_OAEP_4096_SHA1_AES_256`. ImportMethod pulumi.StringInput // The KeyRing that this import job belongs to. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'`. KeyRing pulumi.StringInput // The protection level of the ImportJob. This must match the protectionLevel of the // versionTemplate on the CryptoKey you attempt to import into. // Possible values are `SOFTWARE`, `HSM`, and `EXTERNAL`. ProtectionLevel pulumi.StringInput }
The set of arguments for constructing a KeyRingImportJob resource.
func (KeyRingImportJobArgs) ElementType ¶ added in v3.13.0
func (KeyRingImportJobArgs) ElementType() reflect.Type
type KeyRingImportJobAttestation ¶ added in v3.13.0
type KeyRingImportJobAttestationArgs ¶ added in v3.13.0
type KeyRingImportJobAttestationArgs struct { Content pulumi.StringPtrInput `pulumi:"content"` Format pulumi.StringPtrInput `pulumi:"format"` }
func (KeyRingImportJobAttestationArgs) ElementType ¶ added in v3.13.0
func (KeyRingImportJobAttestationArgs) ElementType() reflect.Type
func (KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationOutput ¶ added in v3.13.0
func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationOutput() KeyRingImportJobAttestationOutput
func (KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationOutputWithContext ¶ added in v3.13.0
func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationOutputWithContext(ctx context.Context) KeyRingImportJobAttestationOutput
func (KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationPtrOutput ¶ added in v3.13.0
func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput
func (KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationPtrOutputWithContext ¶ added in v3.13.0
func (i KeyRingImportJobAttestationArgs) ToKeyRingImportJobAttestationPtrOutputWithContext(ctx context.Context) KeyRingImportJobAttestationPtrOutput
type KeyRingImportJobAttestationInput ¶ added in v3.13.0
type KeyRingImportJobAttestationInput interface { pulumi.Input ToKeyRingImportJobAttestationOutput() KeyRingImportJobAttestationOutput ToKeyRingImportJobAttestationOutputWithContext(context.Context) KeyRingImportJobAttestationOutput }
KeyRingImportJobAttestationInput is an input type that accepts KeyRingImportJobAttestationArgs and KeyRingImportJobAttestationOutput values. You can construct a concrete instance of `KeyRingImportJobAttestationInput` via:
KeyRingImportJobAttestationArgs{...}
type KeyRingImportJobAttestationOutput ¶ added in v3.13.0
type KeyRingImportJobAttestationOutput struct{ *pulumi.OutputState }
func (KeyRingImportJobAttestationOutput) Content ¶ added in v3.13.0
func (o KeyRingImportJobAttestationOutput) Content() pulumi.StringPtrOutput
func (KeyRingImportJobAttestationOutput) ElementType ¶ added in v3.13.0
func (KeyRingImportJobAttestationOutput) ElementType() reflect.Type
func (KeyRingImportJobAttestationOutput) Format ¶ added in v3.13.0
func (o KeyRingImportJobAttestationOutput) Format() pulumi.StringPtrOutput
func (KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationOutput ¶ added in v3.13.0
func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationOutput() KeyRingImportJobAttestationOutput
func (KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationOutputWithContext ¶ added in v3.13.0
func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationOutputWithContext(ctx context.Context) KeyRingImportJobAttestationOutput
func (KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationPtrOutput ¶ added in v3.13.0
func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput
func (KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationPtrOutputWithContext ¶ added in v3.13.0
func (o KeyRingImportJobAttestationOutput) ToKeyRingImportJobAttestationPtrOutputWithContext(ctx context.Context) KeyRingImportJobAttestationPtrOutput
type KeyRingImportJobAttestationPtrInput ¶ added in v3.13.0
type KeyRingImportJobAttestationPtrInput interface { pulumi.Input ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput ToKeyRingImportJobAttestationPtrOutputWithContext(context.Context) KeyRingImportJobAttestationPtrOutput }
KeyRingImportJobAttestationPtrInput is an input type that accepts KeyRingImportJobAttestationArgs, KeyRingImportJobAttestationPtr and KeyRingImportJobAttestationPtrOutput values. You can construct a concrete instance of `KeyRingImportJobAttestationPtrInput` via:
KeyRingImportJobAttestationArgs{...} or: nil
func KeyRingImportJobAttestationPtr ¶ added in v3.13.0
func KeyRingImportJobAttestationPtr(v *KeyRingImportJobAttestationArgs) KeyRingImportJobAttestationPtrInput
type KeyRingImportJobAttestationPtrOutput ¶ added in v3.13.0
type KeyRingImportJobAttestationPtrOutput struct{ *pulumi.OutputState }
func (KeyRingImportJobAttestationPtrOutput) Content ¶ added in v3.13.0
func (o KeyRingImportJobAttestationPtrOutput) Content() pulumi.StringPtrOutput
func (KeyRingImportJobAttestationPtrOutput) ElementType ¶ added in v3.13.0
func (KeyRingImportJobAttestationPtrOutput) ElementType() reflect.Type
func (KeyRingImportJobAttestationPtrOutput) Format ¶ added in v3.13.0
func (o KeyRingImportJobAttestationPtrOutput) Format() pulumi.StringPtrOutput
func (KeyRingImportJobAttestationPtrOutput) ToKeyRingImportJobAttestationPtrOutput ¶ added in v3.13.0
func (o KeyRingImportJobAttestationPtrOutput) ToKeyRingImportJobAttestationPtrOutput() KeyRingImportJobAttestationPtrOutput
func (KeyRingImportJobAttestationPtrOutput) ToKeyRingImportJobAttestationPtrOutputWithContext ¶ added in v3.13.0
func (o KeyRingImportJobAttestationPtrOutput) ToKeyRingImportJobAttestationPtrOutputWithContext(ctx context.Context) KeyRingImportJobAttestationPtrOutput
type KeyRingImportJobPublicKey ¶ added in v3.13.0
type KeyRingImportJobPublicKey struct {
Pem *string `pulumi:"pem"`
}
type KeyRingImportJobPublicKeyArgs ¶ added in v3.13.0
type KeyRingImportJobPublicKeyArgs struct {
Pem pulumi.StringPtrInput `pulumi:"pem"`
}
func (KeyRingImportJobPublicKeyArgs) ElementType ¶ added in v3.13.0
func (KeyRingImportJobPublicKeyArgs) ElementType() reflect.Type
func (KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyOutput ¶ added in v3.13.0
func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyOutput() KeyRingImportJobPublicKeyOutput
func (KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyOutputWithContext ¶ added in v3.13.0
func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyOutput
func (KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyPtrOutput ¶ added in v3.13.0
func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput
func (KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyPtrOutputWithContext ¶ added in v3.13.0
func (i KeyRingImportJobPublicKeyArgs) ToKeyRingImportJobPublicKeyPtrOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyPtrOutput
type KeyRingImportJobPublicKeyInput ¶ added in v3.13.0
type KeyRingImportJobPublicKeyInput interface { pulumi.Input ToKeyRingImportJobPublicKeyOutput() KeyRingImportJobPublicKeyOutput ToKeyRingImportJobPublicKeyOutputWithContext(context.Context) KeyRingImportJobPublicKeyOutput }
KeyRingImportJobPublicKeyInput is an input type that accepts KeyRingImportJobPublicKeyArgs and KeyRingImportJobPublicKeyOutput values. You can construct a concrete instance of `KeyRingImportJobPublicKeyInput` via:
KeyRingImportJobPublicKeyArgs{...}
type KeyRingImportJobPublicKeyOutput ¶ added in v3.13.0
type KeyRingImportJobPublicKeyOutput struct{ *pulumi.OutputState }
func (KeyRingImportJobPublicKeyOutput) ElementType ¶ added in v3.13.0
func (KeyRingImportJobPublicKeyOutput) ElementType() reflect.Type
func (KeyRingImportJobPublicKeyOutput) Pem ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyOutput) Pem() pulumi.StringPtrOutput
func (KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyOutput ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyOutput() KeyRingImportJobPublicKeyOutput
func (KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyOutputWithContext ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyOutput
func (KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyPtrOutput ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput
func (KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyPtrOutputWithContext ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyOutput) ToKeyRingImportJobPublicKeyPtrOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyPtrOutput
type KeyRingImportJobPublicKeyPtrInput ¶ added in v3.13.0
type KeyRingImportJobPublicKeyPtrInput interface { pulumi.Input ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput ToKeyRingImportJobPublicKeyPtrOutputWithContext(context.Context) KeyRingImportJobPublicKeyPtrOutput }
KeyRingImportJobPublicKeyPtrInput is an input type that accepts KeyRingImportJobPublicKeyArgs, KeyRingImportJobPublicKeyPtr and KeyRingImportJobPublicKeyPtrOutput values. You can construct a concrete instance of `KeyRingImportJobPublicKeyPtrInput` via:
KeyRingImportJobPublicKeyArgs{...} or: nil
func KeyRingImportJobPublicKeyPtr ¶ added in v3.13.0
func KeyRingImportJobPublicKeyPtr(v *KeyRingImportJobPublicKeyArgs) KeyRingImportJobPublicKeyPtrInput
type KeyRingImportJobPublicKeyPtrOutput ¶ added in v3.13.0
type KeyRingImportJobPublicKeyPtrOutput struct{ *pulumi.OutputState }
func (KeyRingImportJobPublicKeyPtrOutput) Elem ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyPtrOutput) Elem() KeyRingImportJobPublicKeyOutput
func (KeyRingImportJobPublicKeyPtrOutput) ElementType ¶ added in v3.13.0
func (KeyRingImportJobPublicKeyPtrOutput) ElementType() reflect.Type
func (KeyRingImportJobPublicKeyPtrOutput) Pem ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyPtrOutput) Pem() pulumi.StringPtrOutput
func (KeyRingImportJobPublicKeyPtrOutput) ToKeyRingImportJobPublicKeyPtrOutput ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyPtrOutput) ToKeyRingImportJobPublicKeyPtrOutput() KeyRingImportJobPublicKeyPtrOutput
func (KeyRingImportJobPublicKeyPtrOutput) ToKeyRingImportJobPublicKeyPtrOutputWithContext ¶ added in v3.13.0
func (o KeyRingImportJobPublicKeyPtrOutput) ToKeyRingImportJobPublicKeyPtrOutputWithContext(ctx context.Context) KeyRingImportJobPublicKeyPtrOutput
type KeyRingImportJobState ¶ added in v3.13.0
type KeyRingImportJobState struct { // Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this // statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen // ImportMethod is one with a protection level of HSM. Attestation KeyRingImportJobAttestationPtrInput // The time at which this resource is scheduled for expiration and can no longer be used. This is in RFC3339 text format. ExpireTime pulumi.StringPtrInput // It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63} ImportJobId pulumi.StringPtrInput // The wrapping method to be used for incoming key material. // Possible values are `RSA_OAEP_3072_SHA1_AES_256` and `RSA_OAEP_4096_SHA1_AES_256`. ImportMethod pulumi.StringPtrInput // The KeyRing that this import job belongs to. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}'`. KeyRing pulumi.StringPtrInput // The resource name for this ImportJob in the format projects/*/locations/*/keyRings/*/importJobs/*. Name pulumi.StringPtrInput // The protection level of the ImportJob. This must match the protectionLevel of the // versionTemplate on the CryptoKey you attempt to import into. // Possible values are `SOFTWARE`, `HSM`, and `EXTERNAL`. ProtectionLevel pulumi.StringPtrInput // The public key with which to wrap key material prior to import. Only returned if state is 'ACTIVE'. PublicKey KeyRingImportJobPublicKeyPtrInput // The current state of the ImportJob, indicating if it can be used. State pulumi.StringPtrInput }
func (KeyRingImportJobState) ElementType ¶ added in v3.13.0
func (KeyRingImportJobState) ElementType() reflect.Type
type KeyRingState ¶
type KeyRingState struct { // The location for the KeyRing. // A full list of valid locations can be found by running `gcloud kms locations list`. Location pulumi.StringPtrInput // The resource name for the KeyRing. 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 SelfLink pulumi.StringPtrInput }
func (KeyRingState) ElementType ¶
func (KeyRingState) ElementType() reflect.Type
type Registry
deprecated
type Registry struct { pulumi.CustomResourceState // List of public key certificates to authenticate devices. // The structure is documented below. Credentials RegistryCredentialArrayOutput `pulumi:"credentials"` // List of configurations for event notifications, such as PubSub topics // to publish device events to. // Structure is documented below. EventNotificationConfigs RegistryEventNotificationConfigItemArrayOutput `pulumi:"eventNotificationConfigs"` // Activate or deactivate HTTP. // The structure is documented below. HttpConfig RegistryHttpConfigOutput `pulumi:"httpConfig"` // The default logging verbosity for activity from devices in this // registry. Specifies which events should be written to logs. For // example, if the LogLevel is ERROR, only events that terminate in // errors will be logged. LogLevel is inclusive; enabling INFO logging // will also enable ERROR logging. // Default value is `NONE`. // Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`. LogLevel pulumi.StringPtrOutput `pulumi:"logLevel"` // Activate or deactivate MQTT. // The structure is documented below. MqttConfig RegistryMqttConfigOutput `pulumi:"mqttConfig"` // A unique name for the resource, required by device registry. 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 region in which the created registry should reside. // If it is not provided, the provider region is used. Region pulumi.StringOutput `pulumi:"region"` // A PubSub topic to publish device state updates. // The structure is documented below. StateNotificationConfig RegistryStateNotificationConfigPtrOutput `pulumi:"stateNotificationConfig"` }
A Google Cloud IoT Core device registry.
To get more information about DeviceRegistry, see:
* [API documentation](https://cloud.google.com/iot/docs/reference/cloudiot/rest/) * How-to Guides
- [Official Documentation](https://cloud.google.com/iot/docs/)
## Example Usage
Deprecated: gcp.kms.Registry has been deprecated in favor of gcp.iot.Registry
func GetRegistry ¶
func GetRegistry(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryState, opts ...pulumi.ResourceOption) (*Registry, error)
GetRegistry gets an existing Registry 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 NewRegistry ¶
func NewRegistry(ctx *pulumi.Context, name string, args *RegistryArgs, opts ...pulumi.ResourceOption) (*Registry, error)
NewRegistry registers a new resource with the given unique name, arguments, and options.
type RegistryArgs ¶
type RegistryArgs struct { // List of public key certificates to authenticate devices. // The structure is documented below. Credentials RegistryCredentialArrayInput // List of configurations for event notifications, such as PubSub topics // to publish device events to. // Structure is documented below. EventNotificationConfigs RegistryEventNotificationConfigItemArrayInput // Activate or deactivate HTTP. // The structure is documented below. HttpConfig RegistryHttpConfigPtrInput // The default logging verbosity for activity from devices in this // registry. Specifies which events should be written to logs. For // example, if the LogLevel is ERROR, only events that terminate in // errors will be logged. LogLevel is inclusive; enabling INFO logging // will also enable ERROR logging. // Default value is `NONE`. // Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`. LogLevel pulumi.StringPtrInput // Activate or deactivate MQTT. // The structure is documented below. MqttConfig RegistryMqttConfigPtrInput // A unique name for the resource, required by device registry. 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 region in which the created registry should reside. // If it is not provided, the provider region is used. Region pulumi.StringPtrInput // A PubSub topic to publish device state updates. // The structure is documented below. StateNotificationConfig RegistryStateNotificationConfigPtrInput }
The set of arguments for constructing a Registry resource.
func (RegistryArgs) ElementType ¶
func (RegistryArgs) ElementType() reflect.Type
type RegistryCredential ¶
type RegistryCredential struct { // A public key certificate format and data. PublicKeyCertificate RegistryCredentialPublicKeyCertificate `pulumi:"publicKeyCertificate"` }
type RegistryCredentialArgs ¶
type RegistryCredentialArgs struct { // A public key certificate format and data. PublicKeyCertificate RegistryCredentialPublicKeyCertificateInput `pulumi:"publicKeyCertificate"` }
func (RegistryCredentialArgs) ElementType ¶
func (RegistryCredentialArgs) ElementType() reflect.Type
func (RegistryCredentialArgs) ToRegistryCredentialOutput ¶
func (i RegistryCredentialArgs) ToRegistryCredentialOutput() RegistryCredentialOutput
func (RegistryCredentialArgs) ToRegistryCredentialOutputWithContext ¶
func (i RegistryCredentialArgs) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput
type RegistryCredentialArray ¶
type RegistryCredentialArray []RegistryCredentialInput
func (RegistryCredentialArray) ElementType ¶
func (RegistryCredentialArray) ElementType() reflect.Type
func (RegistryCredentialArray) ToRegistryCredentialArrayOutput ¶
func (i RegistryCredentialArray) ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput
func (RegistryCredentialArray) ToRegistryCredentialArrayOutputWithContext ¶
func (i RegistryCredentialArray) ToRegistryCredentialArrayOutputWithContext(ctx context.Context) RegistryCredentialArrayOutput
type RegistryCredentialArrayInput ¶
type RegistryCredentialArrayInput interface { pulumi.Input ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput ToRegistryCredentialArrayOutputWithContext(context.Context) RegistryCredentialArrayOutput }
RegistryCredentialArrayInput is an input type that accepts RegistryCredentialArray and RegistryCredentialArrayOutput values. You can construct a concrete instance of `RegistryCredentialArrayInput` via:
RegistryCredentialArray{ RegistryCredentialArgs{...} }
type RegistryCredentialArrayOutput ¶
type RegistryCredentialArrayOutput struct{ *pulumi.OutputState }
func (RegistryCredentialArrayOutput) ElementType ¶
func (RegistryCredentialArrayOutput) ElementType() reflect.Type
func (RegistryCredentialArrayOutput) Index ¶
func (o RegistryCredentialArrayOutput) Index(i pulumi.IntInput) RegistryCredentialOutput
func (RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutput ¶
func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutput() RegistryCredentialArrayOutput
func (RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutputWithContext ¶
func (o RegistryCredentialArrayOutput) ToRegistryCredentialArrayOutputWithContext(ctx context.Context) RegistryCredentialArrayOutput
type RegistryCredentialInput ¶
type RegistryCredentialInput interface { pulumi.Input ToRegistryCredentialOutput() RegistryCredentialOutput ToRegistryCredentialOutputWithContext(context.Context) RegistryCredentialOutput }
RegistryCredentialInput is an input type that accepts RegistryCredentialArgs and RegistryCredentialOutput values. You can construct a concrete instance of `RegistryCredentialInput` via:
RegistryCredentialArgs{...}
type RegistryCredentialOutput ¶
type RegistryCredentialOutput struct{ *pulumi.OutputState }
func (RegistryCredentialOutput) ElementType ¶
func (RegistryCredentialOutput) ElementType() reflect.Type
func (RegistryCredentialOutput) PublicKeyCertificate ¶
func (o RegistryCredentialOutput) PublicKeyCertificate() RegistryCredentialPublicKeyCertificateOutput
A public key certificate format and data.
func (RegistryCredentialOutput) ToRegistryCredentialOutput ¶
func (o RegistryCredentialOutput) ToRegistryCredentialOutput() RegistryCredentialOutput
func (RegistryCredentialOutput) ToRegistryCredentialOutputWithContext ¶
func (o RegistryCredentialOutput) ToRegistryCredentialOutputWithContext(ctx context.Context) RegistryCredentialOutput
type RegistryCredentialPublicKeyCertificateArgs ¶
type RegistryCredentialPublicKeyCertificateArgs struct { // The certificate data. Certificate pulumi.StringInput `pulumi:"certificate"` // The field allows only `X509_CERTIFICATE_PEM`. Format pulumi.StringInput `pulumi:"format"` }
func (RegistryCredentialPublicKeyCertificateArgs) ElementType ¶
func (RegistryCredentialPublicKeyCertificateArgs) ElementType() reflect.Type
func (RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutput ¶
func (i RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput
func (RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutputWithContext ¶
func (i RegistryCredentialPublicKeyCertificateArgs) ToRegistryCredentialPublicKeyCertificateOutputWithContext(ctx context.Context) RegistryCredentialPublicKeyCertificateOutput
type RegistryCredentialPublicKeyCertificateInput ¶
type RegistryCredentialPublicKeyCertificateInput interface { pulumi.Input ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput ToRegistryCredentialPublicKeyCertificateOutputWithContext(context.Context) RegistryCredentialPublicKeyCertificateOutput }
RegistryCredentialPublicKeyCertificateInput is an input type that accepts RegistryCredentialPublicKeyCertificateArgs and RegistryCredentialPublicKeyCertificateOutput values. You can construct a concrete instance of `RegistryCredentialPublicKeyCertificateInput` via:
RegistryCredentialPublicKeyCertificateArgs{...}
type RegistryCredentialPublicKeyCertificateOutput ¶
type RegistryCredentialPublicKeyCertificateOutput struct{ *pulumi.OutputState }
func (RegistryCredentialPublicKeyCertificateOutput) Certificate ¶
func (o RegistryCredentialPublicKeyCertificateOutput) Certificate() pulumi.StringOutput
The certificate data.
func (RegistryCredentialPublicKeyCertificateOutput) ElementType ¶
func (RegistryCredentialPublicKeyCertificateOutput) ElementType() reflect.Type
func (RegistryCredentialPublicKeyCertificateOutput) Format ¶
func (o RegistryCredentialPublicKeyCertificateOutput) Format() pulumi.StringOutput
The field allows only `X509_CERTIFICATE_PEM`.
func (RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutput ¶
func (o RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutput() RegistryCredentialPublicKeyCertificateOutput
func (RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutputWithContext ¶
func (o RegistryCredentialPublicKeyCertificateOutput) ToRegistryCredentialPublicKeyCertificateOutputWithContext(ctx context.Context) RegistryCredentialPublicKeyCertificateOutput
type RegistryEventNotificationConfigItem ¶
type RegistryEventNotificationConfigItem struct { // PubSub topic name to publish device events. PubsubTopicName string `pulumi:"pubsubTopicName"` // If the subfolder name matches this string exactly, this // configuration will be used. The string must not include the // leading '/' character. If empty, all strings are matched. Empty // value can only be used for the last `eventNotificationConfigs` // item. SubfolderMatches *string `pulumi:"subfolderMatches"` }
type RegistryEventNotificationConfigItemArgs ¶
type RegistryEventNotificationConfigItemArgs struct { // PubSub topic name to publish device events. PubsubTopicName pulumi.StringInput `pulumi:"pubsubTopicName"` // If the subfolder name matches this string exactly, this // configuration will be used. The string must not include the // leading '/' character. If empty, all strings are matched. Empty // value can only be used for the last `eventNotificationConfigs` // item. SubfolderMatches pulumi.StringPtrInput `pulumi:"subfolderMatches"` }
func (RegistryEventNotificationConfigItemArgs) ElementType ¶
func (RegistryEventNotificationConfigItemArgs) ElementType() reflect.Type
func (RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutput ¶
func (i RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput
func (RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutputWithContext ¶
func (i RegistryEventNotificationConfigItemArgs) ToRegistryEventNotificationConfigItemOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemOutput
type RegistryEventNotificationConfigItemArray ¶
type RegistryEventNotificationConfigItemArray []RegistryEventNotificationConfigItemInput
func (RegistryEventNotificationConfigItemArray) ElementType ¶
func (RegistryEventNotificationConfigItemArray) ElementType() reflect.Type
func (RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutput ¶
func (i RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput
func (RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutputWithContext ¶
func (i RegistryEventNotificationConfigItemArray) ToRegistryEventNotificationConfigItemArrayOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemArrayOutput
type RegistryEventNotificationConfigItemArrayInput ¶
type RegistryEventNotificationConfigItemArrayInput interface { pulumi.Input ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput ToRegistryEventNotificationConfigItemArrayOutputWithContext(context.Context) RegistryEventNotificationConfigItemArrayOutput }
RegistryEventNotificationConfigItemArrayInput is an input type that accepts RegistryEventNotificationConfigItemArray and RegistryEventNotificationConfigItemArrayOutput values. You can construct a concrete instance of `RegistryEventNotificationConfigItemArrayInput` via:
RegistryEventNotificationConfigItemArray{ RegistryEventNotificationConfigItemArgs{...} }
type RegistryEventNotificationConfigItemArrayOutput ¶
type RegistryEventNotificationConfigItemArrayOutput struct{ *pulumi.OutputState }
func (RegistryEventNotificationConfigItemArrayOutput) ElementType ¶
func (RegistryEventNotificationConfigItemArrayOutput) ElementType() reflect.Type
func (RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutput ¶
func (o RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutput() RegistryEventNotificationConfigItemArrayOutput
func (RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutputWithContext ¶
func (o RegistryEventNotificationConfigItemArrayOutput) ToRegistryEventNotificationConfigItemArrayOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemArrayOutput
type RegistryEventNotificationConfigItemInput ¶
type RegistryEventNotificationConfigItemInput interface { pulumi.Input ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput ToRegistryEventNotificationConfigItemOutputWithContext(context.Context) RegistryEventNotificationConfigItemOutput }
RegistryEventNotificationConfigItemInput is an input type that accepts RegistryEventNotificationConfigItemArgs and RegistryEventNotificationConfigItemOutput values. You can construct a concrete instance of `RegistryEventNotificationConfigItemInput` via:
RegistryEventNotificationConfigItemArgs{...}
type RegistryEventNotificationConfigItemOutput ¶
type RegistryEventNotificationConfigItemOutput struct{ *pulumi.OutputState }
func (RegistryEventNotificationConfigItemOutput) ElementType ¶
func (RegistryEventNotificationConfigItemOutput) ElementType() reflect.Type
func (RegistryEventNotificationConfigItemOutput) PubsubTopicName ¶
func (o RegistryEventNotificationConfigItemOutput) PubsubTopicName() pulumi.StringOutput
PubSub topic name to publish device events.
func (RegistryEventNotificationConfigItemOutput) SubfolderMatches ¶
func (o RegistryEventNotificationConfigItemOutput) SubfolderMatches() pulumi.StringPtrOutput
If the subfolder name matches this string exactly, this configuration will be used. The string must not include the leading '/' character. If empty, all strings are matched. Empty value can only be used for the last `eventNotificationConfigs` item.
func (RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutput ¶
func (o RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutput() RegistryEventNotificationConfigItemOutput
func (RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutputWithContext ¶
func (o RegistryEventNotificationConfigItemOutput) ToRegistryEventNotificationConfigItemOutputWithContext(ctx context.Context) RegistryEventNotificationConfigItemOutput
type RegistryHttpConfig ¶
type RegistryHttpConfig struct { // The field allows `HTTP_ENABLED` or `HTTP_DISABLED`. HttpEnabledState string `pulumi:"httpEnabledState"` }
type RegistryHttpConfigArgs ¶
type RegistryHttpConfigArgs struct { // The field allows `HTTP_ENABLED` or `HTTP_DISABLED`. HttpEnabledState pulumi.StringInput `pulumi:"httpEnabledState"` }
func (RegistryHttpConfigArgs) ElementType ¶
func (RegistryHttpConfigArgs) ElementType() reflect.Type
func (RegistryHttpConfigArgs) ToRegistryHttpConfigOutput ¶
func (i RegistryHttpConfigArgs) ToRegistryHttpConfigOutput() RegistryHttpConfigOutput
func (RegistryHttpConfigArgs) ToRegistryHttpConfigOutputWithContext ¶
func (i RegistryHttpConfigArgs) ToRegistryHttpConfigOutputWithContext(ctx context.Context) RegistryHttpConfigOutput
func (RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutput ¶
func (i RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
func (RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutputWithContext ¶
func (i RegistryHttpConfigArgs) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput
type RegistryHttpConfigInput ¶
type RegistryHttpConfigInput interface { pulumi.Input ToRegistryHttpConfigOutput() RegistryHttpConfigOutput ToRegistryHttpConfigOutputWithContext(context.Context) RegistryHttpConfigOutput }
RegistryHttpConfigInput is an input type that accepts RegistryHttpConfigArgs and RegistryHttpConfigOutput values. You can construct a concrete instance of `RegistryHttpConfigInput` via:
RegistryHttpConfigArgs{...}
type RegistryHttpConfigOutput ¶
type RegistryHttpConfigOutput struct{ *pulumi.OutputState }
func (RegistryHttpConfigOutput) ElementType ¶
func (RegistryHttpConfigOutput) ElementType() reflect.Type
func (RegistryHttpConfigOutput) HttpEnabledState ¶
func (o RegistryHttpConfigOutput) HttpEnabledState() pulumi.StringOutput
The field allows `HTTP_ENABLED` or `HTTP_DISABLED`.
func (RegistryHttpConfigOutput) ToRegistryHttpConfigOutput ¶
func (o RegistryHttpConfigOutput) ToRegistryHttpConfigOutput() RegistryHttpConfigOutput
func (RegistryHttpConfigOutput) ToRegistryHttpConfigOutputWithContext ¶
func (o RegistryHttpConfigOutput) ToRegistryHttpConfigOutputWithContext(ctx context.Context) RegistryHttpConfigOutput
func (RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutput ¶
func (o RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
func (RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutputWithContext ¶
func (o RegistryHttpConfigOutput) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput
type RegistryHttpConfigPtrInput ¶
type RegistryHttpConfigPtrInput interface { pulumi.Input ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput ToRegistryHttpConfigPtrOutputWithContext(context.Context) RegistryHttpConfigPtrOutput }
RegistryHttpConfigPtrInput is an input type that accepts RegistryHttpConfigArgs, RegistryHttpConfigPtr and RegistryHttpConfigPtrOutput values. You can construct a concrete instance of `RegistryHttpConfigPtrInput` via:
RegistryHttpConfigArgs{...} or: nil
func RegistryHttpConfigPtr ¶
func RegistryHttpConfigPtr(v *RegistryHttpConfigArgs) RegistryHttpConfigPtrInput
type RegistryHttpConfigPtrOutput ¶
type RegistryHttpConfigPtrOutput struct{ *pulumi.OutputState }
func (RegistryHttpConfigPtrOutput) Elem ¶
func (o RegistryHttpConfigPtrOutput) Elem() RegistryHttpConfigOutput
func (RegistryHttpConfigPtrOutput) ElementType ¶
func (RegistryHttpConfigPtrOutput) ElementType() reflect.Type
func (RegistryHttpConfigPtrOutput) HttpEnabledState ¶
func (o RegistryHttpConfigPtrOutput) HttpEnabledState() pulumi.StringPtrOutput
The field allows `HTTP_ENABLED` or `HTTP_DISABLED`.
func (RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutput ¶
func (o RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutput() RegistryHttpConfigPtrOutput
func (RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutputWithContext ¶
func (o RegistryHttpConfigPtrOutput) ToRegistryHttpConfigPtrOutputWithContext(ctx context.Context) RegistryHttpConfigPtrOutput
type RegistryMqttConfig ¶
type RegistryMqttConfig struct { // The field allows `MQTT_ENABLED` or `MQTT_DISABLED`. MqttEnabledState string `pulumi:"mqttEnabledState"` }
type RegistryMqttConfigArgs ¶
type RegistryMqttConfigArgs struct { // The field allows `MQTT_ENABLED` or `MQTT_DISABLED`. MqttEnabledState pulumi.StringInput `pulumi:"mqttEnabledState"` }
func (RegistryMqttConfigArgs) ElementType ¶
func (RegistryMqttConfigArgs) ElementType() reflect.Type
func (RegistryMqttConfigArgs) ToRegistryMqttConfigOutput ¶
func (i RegistryMqttConfigArgs) ToRegistryMqttConfigOutput() RegistryMqttConfigOutput
func (RegistryMqttConfigArgs) ToRegistryMqttConfigOutputWithContext ¶
func (i RegistryMqttConfigArgs) ToRegistryMqttConfigOutputWithContext(ctx context.Context) RegistryMqttConfigOutput
func (RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutput ¶
func (i RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
func (RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutputWithContext ¶
func (i RegistryMqttConfigArgs) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput
type RegistryMqttConfigInput ¶
type RegistryMqttConfigInput interface { pulumi.Input ToRegistryMqttConfigOutput() RegistryMqttConfigOutput ToRegistryMqttConfigOutputWithContext(context.Context) RegistryMqttConfigOutput }
RegistryMqttConfigInput is an input type that accepts RegistryMqttConfigArgs and RegistryMqttConfigOutput values. You can construct a concrete instance of `RegistryMqttConfigInput` via:
RegistryMqttConfigArgs{...}
type RegistryMqttConfigOutput ¶
type RegistryMqttConfigOutput struct{ *pulumi.OutputState }
func (RegistryMqttConfigOutput) ElementType ¶
func (RegistryMqttConfigOutput) ElementType() reflect.Type
func (RegistryMqttConfigOutput) MqttEnabledState ¶
func (o RegistryMqttConfigOutput) MqttEnabledState() pulumi.StringOutput
The field allows `MQTT_ENABLED` or `MQTT_DISABLED`.
func (RegistryMqttConfigOutput) ToRegistryMqttConfigOutput ¶
func (o RegistryMqttConfigOutput) ToRegistryMqttConfigOutput() RegistryMqttConfigOutput
func (RegistryMqttConfigOutput) ToRegistryMqttConfigOutputWithContext ¶
func (o RegistryMqttConfigOutput) ToRegistryMqttConfigOutputWithContext(ctx context.Context) RegistryMqttConfigOutput
func (RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutput ¶
func (o RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
func (RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutputWithContext ¶
func (o RegistryMqttConfigOutput) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput
type RegistryMqttConfigPtrInput ¶
type RegistryMqttConfigPtrInput interface { pulumi.Input ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput ToRegistryMqttConfigPtrOutputWithContext(context.Context) RegistryMqttConfigPtrOutput }
RegistryMqttConfigPtrInput is an input type that accepts RegistryMqttConfigArgs, RegistryMqttConfigPtr and RegistryMqttConfigPtrOutput values. You can construct a concrete instance of `RegistryMqttConfigPtrInput` via:
RegistryMqttConfigArgs{...} or: nil
func RegistryMqttConfigPtr ¶
func RegistryMqttConfigPtr(v *RegistryMqttConfigArgs) RegistryMqttConfigPtrInput
type RegistryMqttConfigPtrOutput ¶
type RegistryMqttConfigPtrOutput struct{ *pulumi.OutputState }
func (RegistryMqttConfigPtrOutput) Elem ¶
func (o RegistryMqttConfigPtrOutput) Elem() RegistryMqttConfigOutput
func (RegistryMqttConfigPtrOutput) ElementType ¶
func (RegistryMqttConfigPtrOutput) ElementType() reflect.Type
func (RegistryMqttConfigPtrOutput) MqttEnabledState ¶
func (o RegistryMqttConfigPtrOutput) MqttEnabledState() pulumi.StringPtrOutput
The field allows `MQTT_ENABLED` or `MQTT_DISABLED`.
func (RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutput ¶
func (o RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutput() RegistryMqttConfigPtrOutput
func (RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutputWithContext ¶
func (o RegistryMqttConfigPtrOutput) ToRegistryMqttConfigPtrOutputWithContext(ctx context.Context) RegistryMqttConfigPtrOutput
type RegistryState ¶
type RegistryState struct { // List of public key certificates to authenticate devices. // The structure is documented below. Credentials RegistryCredentialArrayInput // List of configurations for event notifications, such as PubSub topics // to publish device events to. // Structure is documented below. EventNotificationConfigs RegistryEventNotificationConfigItemArrayInput // Activate or deactivate HTTP. // The structure is documented below. HttpConfig RegistryHttpConfigPtrInput // The default logging verbosity for activity from devices in this // registry. Specifies which events should be written to logs. For // example, if the LogLevel is ERROR, only events that terminate in // errors will be logged. LogLevel is inclusive; enabling INFO logging // will also enable ERROR logging. // Default value is `NONE`. // Possible values are `NONE`, `ERROR`, `INFO`, and `DEBUG`. LogLevel pulumi.StringPtrInput // Activate or deactivate MQTT. // The structure is documented below. MqttConfig RegistryMqttConfigPtrInput // A unique name for the resource, required by device registry. 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 region in which the created registry should reside. // If it is not provided, the provider region is used. Region pulumi.StringPtrInput // A PubSub topic to publish device state updates. // The structure is documented below. StateNotificationConfig RegistryStateNotificationConfigPtrInput }
func (RegistryState) ElementType ¶
func (RegistryState) ElementType() reflect.Type
type RegistryStateNotificationConfig ¶
type RegistryStateNotificationConfig struct { // PubSub topic name to publish device events. PubsubTopicName string `pulumi:"pubsubTopicName"` }
type RegistryStateNotificationConfigArgs ¶
type RegistryStateNotificationConfigArgs struct { // PubSub topic name to publish device events. PubsubTopicName pulumi.StringInput `pulumi:"pubsubTopicName"` }
func (RegistryStateNotificationConfigArgs) ElementType ¶
func (RegistryStateNotificationConfigArgs) ElementType() reflect.Type
func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutput ¶
func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput
func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutputWithContext ¶
func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigOutputWithContext(ctx context.Context) RegistryStateNotificationConfigOutput
func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutput ¶
func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
func (RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutputWithContext ¶
func (i RegistryStateNotificationConfigArgs) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput
type RegistryStateNotificationConfigInput ¶
type RegistryStateNotificationConfigInput interface { pulumi.Input ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput ToRegistryStateNotificationConfigOutputWithContext(context.Context) RegistryStateNotificationConfigOutput }
RegistryStateNotificationConfigInput is an input type that accepts RegistryStateNotificationConfigArgs and RegistryStateNotificationConfigOutput values. You can construct a concrete instance of `RegistryStateNotificationConfigInput` via:
RegistryStateNotificationConfigArgs{...}
type RegistryStateNotificationConfigOutput ¶
type RegistryStateNotificationConfigOutput struct{ *pulumi.OutputState }
func (RegistryStateNotificationConfigOutput) ElementType ¶
func (RegistryStateNotificationConfigOutput) ElementType() reflect.Type
func (RegistryStateNotificationConfigOutput) PubsubTopicName ¶
func (o RegistryStateNotificationConfigOutput) PubsubTopicName() pulumi.StringOutput
PubSub topic name to publish device events.
func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutput ¶
func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutput() RegistryStateNotificationConfigOutput
func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutputWithContext ¶
func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigOutputWithContext(ctx context.Context) RegistryStateNotificationConfigOutput
func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutput ¶
func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
func (RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutputWithContext ¶
func (o RegistryStateNotificationConfigOutput) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput
type RegistryStateNotificationConfigPtrInput ¶
type RegistryStateNotificationConfigPtrInput interface { pulumi.Input ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput ToRegistryStateNotificationConfigPtrOutputWithContext(context.Context) RegistryStateNotificationConfigPtrOutput }
RegistryStateNotificationConfigPtrInput is an input type that accepts RegistryStateNotificationConfigArgs, RegistryStateNotificationConfigPtr and RegistryStateNotificationConfigPtrOutput values. You can construct a concrete instance of `RegistryStateNotificationConfigPtrInput` via:
RegistryStateNotificationConfigArgs{...} or: nil
func RegistryStateNotificationConfigPtr ¶
func RegistryStateNotificationConfigPtr(v *RegistryStateNotificationConfigArgs) RegistryStateNotificationConfigPtrInput
type RegistryStateNotificationConfigPtrOutput ¶
type RegistryStateNotificationConfigPtrOutput struct{ *pulumi.OutputState }
func (RegistryStateNotificationConfigPtrOutput) ElementType ¶
func (RegistryStateNotificationConfigPtrOutput) ElementType() reflect.Type
func (RegistryStateNotificationConfigPtrOutput) PubsubTopicName ¶
func (o RegistryStateNotificationConfigPtrOutput) PubsubTopicName() pulumi.StringPtrOutput
PubSub topic name to publish device events.
func (RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutput ¶
func (o RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutput() RegistryStateNotificationConfigPtrOutput
func (RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutputWithContext ¶
func (o RegistryStateNotificationConfigPtrOutput) ToRegistryStateNotificationConfigPtrOutputWithContext(ctx context.Context) RegistryStateNotificationConfigPtrOutput
type SecretCiphertext ¶
type SecretCiphertext struct { pulumi.CustomResourceState // The additional authenticated data used for integrity checks during encryption and decryption. // **Note**: This property is sensitive and will not be displayed in the plan. AdditionalAuthenticatedData pulumi.StringPtrOutput `pulumi:"additionalAuthenticatedData"` // Contains the result of encrypting the provided plaintext, encoded in base64. Ciphertext pulumi.StringOutput `pulumi:"ciphertext"` // The full name of the CryptoKey that will be used to encrypt the provided plaintext. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}'` CryptoKey pulumi.StringOutput `pulumi:"cryptoKey"` // The plaintext to be encrypted. // **Note**: This property is sensitive and will not be displayed in the plan. Plaintext pulumi.StringOutput `pulumi:"plaintext"` }
Encrypts secret data with Google Cloud KMS and provides access to the ciphertext.
> **NOTE:** Using this resource will allow you to conceal secret data within your resource definitions, but it does not take care of protecting that data in the logging output, plan output, or state output. Please take care to secure your secret data outside of resource definitions.
To get more information about SecretCiphertext, see:
* [API documentation](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys/encrypt) * How-to Guides
- [Encrypting and decrypting data with a symmetric key](https://cloud.google.com/kms/docs/encrypt-decrypt)
> **Warning:** All arguments including `plaintext` and `additionalAuthenticatedData` will be stored in the raw state as plain-text. [Read more about secrets in state](https://www.pulumi.com/docs/intro/concepts/programming-model/#secrets).
## Example Usage
func GetSecretCiphertext ¶
func GetSecretCiphertext(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretCiphertextState, opts ...pulumi.ResourceOption) (*SecretCiphertext, error)
GetSecretCiphertext gets an existing SecretCiphertext 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 NewSecretCiphertext ¶
func NewSecretCiphertext(ctx *pulumi.Context, name string, args *SecretCiphertextArgs, opts ...pulumi.ResourceOption) (*SecretCiphertext, error)
NewSecretCiphertext registers a new resource with the given unique name, arguments, and options.
type SecretCiphertextArgs ¶
type SecretCiphertextArgs struct { // The additional authenticated data used for integrity checks during encryption and decryption. // **Note**: This property is sensitive and will not be displayed in the plan. AdditionalAuthenticatedData pulumi.StringPtrInput // The full name of the CryptoKey that will be used to encrypt the provided plaintext. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}'` CryptoKey pulumi.StringInput // The plaintext to be encrypted. // **Note**: This property is sensitive and will not be displayed in the plan. Plaintext pulumi.StringInput }
The set of arguments for constructing a SecretCiphertext resource.
func (SecretCiphertextArgs) ElementType ¶
func (SecretCiphertextArgs) ElementType() reflect.Type
type SecretCiphertextState ¶
type SecretCiphertextState struct { // The additional authenticated data used for integrity checks during encryption and decryption. // **Note**: This property is sensitive and will not be displayed in the plan. AdditionalAuthenticatedData pulumi.StringPtrInput // Contains the result of encrypting the provided plaintext, encoded in base64. Ciphertext pulumi.StringPtrInput // The full name of the CryptoKey that will be used to encrypt the provided plaintext. // Format: `'projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}'` CryptoKey pulumi.StringPtrInput // The plaintext to be encrypted. // **Note**: This property is sensitive and will not be displayed in the plan. Plaintext pulumi.StringPtrInput }
func (SecretCiphertextState) ElementType ¶
func (SecretCiphertextState) ElementType() reflect.Type
Source Files ¶
- cryptoKey.go
- cryptoKeyIAMBinding.go
- cryptoKeyIAMMember.go
- cryptoKeyIAMPolicy.go
- getKMSCryptoKey.go
- getKMSCryptoKeyVersion.go
- getKMSKeyRing.go
- getKMSSecret.go
- getKMSSecretCiphertext.go
- keyRing.go
- keyRingIAMBinding.go
- keyRingIAMMember.go
- keyRingIAMPolicy.go
- keyRingImportJob.go
- pulumiTypes.go
- registry.go
- secretCiphertext.go