AuthConfigArgs

data class AuthConfigArgs(val certificateId: Output<String>? = null, val clientCertificateEncryptedPrivateKey: Output<String>? = null, val clientCertificatePassphrase: Output<String>? = null, val clientCertificateSslCertificate: Output<String>? = null, val creatorEmail: Output<String>? = null, val credentialType: Output<AuthConfigCredentialType>? = null, val decryptedCredential: Output<GoogleCloudIntegrationsV1alphaCredentialArgs>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val encryptedCredential: Output<String>? = null, val expiryNotificationDuration: Output<List<String>>? = null, val lastModifierEmail: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val overrideValidTime: Output<String>? = null, val productId: Output<String>? = null, val project: Output<String>? = null, val reason: Output<String>? = null, val state: Output<AuthConfigState>? = null, val validTime: Output<String>? = null, val visibility: Output<AuthConfigVisibility>? = null) : ConvertibleToJava<AuthConfigArgs>

Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g. access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store the encrypted credentials in Spanner. Returns the encrypted auth config. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun AuthConfigArgs(certificateId: Output<String>? = null, clientCertificateEncryptedPrivateKey: Output<String>? = null, clientCertificatePassphrase: Output<String>? = null, clientCertificateSslCertificate: Output<String>? = null, creatorEmail: Output<String>? = null, credentialType: Output<AuthConfigCredentialType>? = null, decryptedCredential: Output<GoogleCloudIntegrationsV1alphaCredentialArgs>? = null, description: Output<String>? = null, displayName: Output<String>? = null, encryptedCredential: Output<String>? = null, expiryNotificationDuration: Output<List<String>>? = null, lastModifierEmail: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, overrideValidTime: Output<String>? = null, productId: Output<String>? = null, project: Output<String>? = null, reason: Output<String>? = null, state: Output<AuthConfigState>? = null, validTime: Output<String>? = null, visibility: Output<AuthConfigVisibility>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AuthConfigArgs

Properties

Link copied to clipboard
val certificateId: Output<String>? = null

Certificate id for client certificate

Link copied to clipboard

The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

Link copied to clipboard
val clientCertificatePassphrase: Output<String>? = null

'passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.

Link copied to clipboard

The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. For example, -----BEGIN CERTIFICATE----- MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1 JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr 5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----

Link copied to clipboard
val creatorEmail: Output<String>? = null

The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.

Link copied to clipboard

Credential type of the encrypted credential.

Link copied to clipboard

Raw auth credentials.

Link copied to clipboard
val description: Output<String>? = null

A description of the auth config.

Link copied to clipboard
val displayName: Output<String>? = null

The name of the auth config.

Link copied to clipboard
val encryptedCredential: Output<String>? = null

Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.

Link copied to clipboard
val expiryNotificationDuration: Output<List<String>>? = null

User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.

Link copied to clipboard
val lastModifierEmail: Output<String>? = null

The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

Resource name of the SFDC instance projects/{project}/locations/{location}/authConfigs/{authConfig}.

Link copied to clipboard
val overrideValidTime: Output<String>? = null

User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.

Link copied to clipboard
val productId: Output<String>? = null
Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val reason: Output<String>? = null

The reason / details of the current status.

Link copied to clipboard
val state: Output<AuthConfigState>? = null

The status of the auth config.

Link copied to clipboard
val validTime: Output<String>? = null

The time until the auth config is valid. Empty or max value is considered the auth config won't expire.

Link copied to clipboard
val visibility: Output<AuthConfigVisibility>? = null

The visibility of the auth config.