Skip to main content

identity_aware_proxy_clients

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

Overview

Nameidentity_aware_proxy_clients
TypeResource
Idgoogle.iap.identity_aware_proxy_clients

Fields

NameDatatypeDescription
namestringOutput only. Unique identifier of the OAuth client.
displayNamestringHuman-friendly name given to the OAuth client.
secretstringOutput only. Client secret of the OAuth client.

Methods

NameAccessible byRequired ParamsDescription
getSELECTbrandsId, identityAwareProxyClientsId, projectsIdRetrieves an Identity Aware Proxy (IAP) OAuth client. Requires that the client is owned by IAP.
listSELECTbrandsId, projectsIdLists the existing clients for the brand.
createINSERTbrandsId, projectsIdCreates an Identity Aware Proxy (IAP) OAuth client. The client is owned by IAP. Requires that the brand for the project exists and that it is set for internal-only use.
deleteDELETEbrandsId, identityAwareProxyClientsId, projectsIdDeletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing obsolete clients, managing the number of clients in a given project, and cleaning up after tests. Requires that the client is owned by IAP.
reset_secretEXECbrandsId, identityAwareProxyClientsId, projectsIdResets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.

SELECT examples

Lists the existing clients for the brand.

SELECT
name,
displayName,
secret
FROM google.iap.identity_aware_proxy_clients
WHERE brandsId = '{{ brandsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

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

/*+ create */
INSERT INTO google.iap.identity_aware_proxy_clients (
brandsId,
projectsId,
displayName
)
SELECT
'{{ brandsId }}',
'{{ projectsId }}',
'{{ displayName }}'
;

DELETE example

Deletes the specified identity_aware_proxy_clients resource.

/*+ delete */
DELETE FROM google.iap.identity_aware_proxy_clients
WHERE brandsId = '{{ brandsId }}'
AND identityAwareProxyClientsId = '{{ identityAwareProxyClientsId }}'
AND projectsId = '{{ projectsId }}';