Skip to main content

idp_credentials

Creates, updates, deletes, gets or lists a idp_credentials resource.

Overview

Nameidp_credentials
TypeResource
Idgoogle.cloudidentity.idp_credentials

Fields

NameDatatypeDescription
namestringOutput only. Resource name of the credential.
dsaKeyInfoobjectInformation of a DSA public key.
rsaKeyInfoobjectInformation of a RSA public key.
updateTimestringOutput only. Time when the IdpCredential was last updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTidpCredentialsId, inboundSamlSsoProfilesIdGets an IdpCredential.
listSELECTinboundSamlSsoProfilesIdReturns a list of IdpCredentials in an InboundSamlSsoProfile.
addINSERTinboundSamlSsoProfilesIdAdds an IdpCredential. Up to 2 credentials are allowed. When the target customer has enabled Multi-party approval for sensitive actions, the Operation in the response will have "done": false, it will not have a response, and the metadata will have "state": "awaiting-multi-party-approval".
deleteDELETEidpCredentialsId, inboundSamlSsoProfilesIdDeletes an IdpCredential.

SELECT examples

Returns a list of IdpCredentials in an InboundSamlSsoProfile.

SELECT
name,
dsaKeyInfo,
rsaKeyInfo,
updateTime
FROM google.cloudidentity.idp_credentials
WHERE inboundSamlSsoProfilesId = '{{ inboundSamlSsoProfilesId }}';

INSERT example

Use the following StackQL query and manifest file to create a new idp_credentials resource.

/*+ create */
INSERT INTO google.cloudidentity.idp_credentials (
inboundSamlSsoProfilesId,
pemData
)
SELECT
'{{ inboundSamlSsoProfilesId }}',
'{{ pemData }}'
;

DELETE example

Deletes the specified idp_credentials resource.

/*+ delete */
DELETE FROM google.cloudidentity.idp_credentials
WHERE idpCredentialsId = '{{ idpCredentialsId }}'
AND inboundSamlSsoProfilesId = '{{ inboundSamlSsoProfilesId }}';