Skip to main content

idp_credentials

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

Overview

Nameidp_credentials
TypeResource
Idgoogle.cloudidentity.idp_credentials

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. Resource name of the credential.
dsaKeyInfoobjectOutput only. Information of a DSA public key. (id: DsaPublicKeyInfo)
rsaKeyInfoobjectOutput only. Information of a RSA public key. (id: RsaPublicKeyInfo)
updateTimestring (google-datetime)Output only. Time when the IdpCredential was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectinboundSamlSsoProfilesId, idpCredentialsIdGets an IdpCredential.
listselectinboundSamlSsoProfilesIdpageSize, pageTokenReturns 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".
deletedeleteinboundSamlSsoProfilesId, idpCredentialsIdDeletes an IdpCredential.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idpCredentialsIdstring
inboundSamlSsoProfilesIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets an IdpCredential.

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

INSERT examples

Adds 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".

INSERT INTO google.cloudidentity.idp_credentials (
data__pemData,
inboundSamlSsoProfilesId
)
SELECT
'{{ pemData }}',
'{{ inboundSamlSsoProfilesId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Deletes an IdpCredential.

DELETE FROM google.cloudidentity.idp_credentials
WHERE inboundSamlSsoProfilesId = '{{ inboundSamlSsoProfilesId }}' --required
AND idpCredentialsId = '{{ idpCredentialsId }}' --required;