Skip to main content

federated_identity_credentials

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

Overview

Namefederated_identity_credentials
TypeResource
Idazure.managed_identity.federated_identity_credentials

Fields

NameDatatypeDescription
audiencestextfield from the properties object
federatedIdentityCredentialResourceNametextfield from the properties object
issuertextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subjecttextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTfederatedIdentityCredentialResourceName, resourceGroupName, resourceName, subscriptionIdGets the federated identity credential.
listSELECTresourceGroupName, resourceName, subscriptionIdLists all the federated identity credentials under the specified user assigned identity.
create_or_updateINSERTfederatedIdentityCredentialResourceName, resourceGroupName, resourceName, subscriptionIdCreate or update a federated identity credential under the specified user assigned identity.
deleteDELETEfederatedIdentityCredentialResourceName, resourceGroupName, resourceName, subscriptionIdDeletes the federated identity credential.

SELECT examples

Lists all the federated identity credentials under the specified user assigned identity.

SELECT
audiences,
federatedIdentityCredentialResourceName,
issuer,
resourceGroupName,
resourceName,
subject,
subscriptionId
FROM azure.managed_identity.vw_federated_identity_credentials
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.managed_identity.federated_identity_credentials (
federatedIdentityCredentialResourceName,
resourceGroupName,
resourceName,
subscriptionId,
properties
)
SELECT
'{{ federatedIdentityCredentialResourceName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified federated_identity_credentials resource.

/*+ delete */
DELETE FROM azure.managed_identity.federated_identity_credentials
WHERE federatedIdentityCredentialResourceName = '{{ federatedIdentityCredentialResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';