import * as pulumi from "@pulumi/pulumi"; /** * Manages a Federated Identity Credential. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example", * location: "West Europe", * }); * const exampleUserAssignedIdentity = new azure.authorization.UserAssignedIdentity("example", { * location: example.location, * name: "example", * resourceGroupName: example.name, * }); * const exampleFederatedIdentityCredential = new azure.armmsi.FederatedIdentityCredential("example", { * name: "example", * audience: "foo", * issuer: "https://foo", * userAssignedIdentityId: exampleUserAssignedIdentity.id, * subject: "foo", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ManagedIdentity` - 2024-11-30 * * ## Import * * An existing Federated Identity Credential can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:armmsi/federatedIdentityCredential:FederatedIdentityCredential example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{parentIdentityName}/federatedIdentityCredentials/{resourceName} * ``` */ export declare class FederatedIdentityCredential extends pulumi.CustomResource { /** * Get an existing FederatedIdentityCredential resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: FederatedIdentityCredentialState, opts?: pulumi.CustomResourceOptions): FederatedIdentityCredential; /** * Returns true if the given object is an instance of FederatedIdentityCredential. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is FederatedIdentityCredential; /** * Specifies the audience for this Federated Identity Credential. */ readonly audience: pulumi.Output; /** * Specifies the issuer of this Federated Identity Credential. */ readonly issuer: pulumi.Output; /** * Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * @deprecated `parentId` has been renamed to `userAssignedIdentityId` and will be removed in v5.0 of the AzureRM Provider */ readonly parentId: pulumi.Output; /** * @deprecated This field is no longer used and will be removed in the next major version of the Azure Provider */ readonly resourceGroupName: pulumi.Output; /** * Specifies the subject for this Federated Identity Credential. */ readonly subject: pulumi.Output; /** * Specifies the ID of the User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created. */ readonly userAssignedIdentityId: pulumi.Output; /** * Create a FederatedIdentityCredential resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: FederatedIdentityCredentialArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FederatedIdentityCredential resources. */ export interface FederatedIdentityCredentialState { /** * Specifies the audience for this Federated Identity Credential. */ audience?: pulumi.Input; /** * Specifies the issuer of this Federated Identity Credential. */ issuer?: pulumi.Input; /** * Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * @deprecated `parentId` has been renamed to `userAssignedIdentityId` and will be removed in v5.0 of the AzureRM Provider */ parentId?: pulumi.Input; /** * @deprecated This field is no longer used and will be removed in the next major version of the Azure Provider */ resourceGroupName?: pulumi.Input; /** * Specifies the subject for this Federated Identity Credential. */ subject?: pulumi.Input; /** * Specifies the ID of the User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created. */ userAssignedIdentityId?: pulumi.Input; } /** * The set of arguments for constructing a FederatedIdentityCredential resource. */ export interface FederatedIdentityCredentialArgs { /** * Specifies the audience for this Federated Identity Credential. */ audience: pulumi.Input; /** * Specifies the issuer of this Federated Identity Credential. */ issuer: pulumi.Input; /** * Specifies the name of this Federated Identity Credential. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * @deprecated `parentId` has been renamed to `userAssignedIdentityId` and will be removed in v5.0 of the AzureRM Provider */ parentId?: pulumi.Input; /** * @deprecated This field is no longer used and will be removed in the next major version of the Azure Provider */ resourceGroupName?: pulumi.Input; /** * Specifies the subject for this Federated Identity Credential. */ subject: pulumi.Input; /** * Specifies the ID of the User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created. */ userAssignedIdentityId?: pulumi.Input; }