Azure Classic v5.43.0, May 6 23
Azure Classic v5.43.0, May 6 23
azure.armmsi.FederatedIdentityCredential
Explore with Pulumi AI
Manages a Federated Identity Credential.
Example Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.authorization.UserAssignedIdentity;
import com.pulumi.azure.authorization.UserAssignedIdentityArgs;
import com.pulumi.azure.armmsi.FederatedIdentityCredential;
import com.pulumi.azure.armmsi.FederatedIdentityCredentialArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleUserAssignedIdentity = new UserAssignedIdentity("exampleUserAssignedIdentity", UserAssignedIdentityArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.build());
var exampleFederatedIdentityCredential = new FederatedIdentityCredential("exampleFederatedIdentityCredential", FederatedIdentityCredentialArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.audience("foo")
.issuer("https://foo")
.parentId(exampleUserAssignedIdentity.id())
.subject("foo")
.build());
}
}
Coming soon!
Coming soon!
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleUserAssignedIdentity:
type: azure:authorization:UserAssignedIdentity
properties:
location: ${exampleResourceGroup.location}
resourceGroupName: ${exampleResourceGroup.name}
exampleFederatedIdentityCredential:
type: azure:armmsi:FederatedIdentityCredential
properties:
resourceGroupName: ${exampleResourceGroup.name}
audience:
- foo
issuer: https://foo
parentId: ${exampleUserAssignedIdentity.id}
subject: foo
Create FederatedIdentityCredential Resource
new FederatedIdentityCredential(name: string, args: FederatedIdentityCredentialArgs, opts?: CustomResourceOptions);
@overload
def FederatedIdentityCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
audience: Optional[str] = None,
issuer: Optional[str] = None,
name: Optional[str] = None,
parent_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
subject: Optional[str] = None)
@overload
def FederatedIdentityCredential(resource_name: str,
args: FederatedIdentityCredentialArgs,
opts: Optional[ResourceOptions] = None)
func NewFederatedIdentityCredential(ctx *Context, name string, args FederatedIdentityCredentialArgs, opts ...ResourceOption) (*FederatedIdentityCredential, error)
public FederatedIdentityCredential(string name, FederatedIdentityCredentialArgs args, CustomResourceOptions? opts = null)
public FederatedIdentityCredential(String name, FederatedIdentityCredentialArgs args)
public FederatedIdentityCredential(String name, FederatedIdentityCredentialArgs args, CustomResourceOptions options)
type: azure:armmsi:FederatedIdentityCredential
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FederatedIdentityCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FederatedIdentityCredentialArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FederatedIdentityCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FederatedIdentityCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FederatedIdentityCredentialArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FederatedIdentityCredential Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The FederatedIdentityCredential resource accepts the following input properties:
- Audience string
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Issuer string
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Parent
Id string Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Resource
Group stringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- Subject string
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Name string
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Audience string
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Issuer string
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Parent
Id string Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Resource
Group stringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- Subject string
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Name string
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience String
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer String
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent
Id String Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource
Group StringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject String
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name String
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience string
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer string
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent
Id string Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource
Group stringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject string
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name string
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience str
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer str
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent_
id str Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource_
group_ strname Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject str
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name str
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience String
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer String
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent
Id String Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource
Group StringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject String
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name String
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
Outputs
All input properties are implicitly available as output properties. Additionally, the FederatedIdentityCredential resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing FederatedIdentityCredential Resource
Get an existing FederatedIdentityCredential resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: FederatedIdentityCredentialState, opts?: CustomResourceOptions): FederatedIdentityCredential
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
audience: Optional[str] = None,
issuer: Optional[str] = None,
name: Optional[str] = None,
parent_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
subject: Optional[str] = None) -> FederatedIdentityCredential
func GetFederatedIdentityCredential(ctx *Context, name string, id IDInput, state *FederatedIdentityCredentialState, opts ...ResourceOption) (*FederatedIdentityCredential, error)
public static FederatedIdentityCredential Get(string name, Input<string> id, FederatedIdentityCredentialState? state, CustomResourceOptions? opts = null)
public static FederatedIdentityCredential get(String name, Output<String> id, FederatedIdentityCredentialState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Audience string
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Issuer string
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Name string
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Parent
Id string Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Resource
Group stringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- Subject string
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Audience string
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Issuer string
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Name string
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Parent
Id string Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- Resource
Group stringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- Subject string
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience String
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer String
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name String
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent
Id String Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource
Group StringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject String
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience string
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer string
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name string
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent
Id string Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource
Group stringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject string
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience str
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer str
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name str
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent_
id str Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource_
group_ strname Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject str
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- audience String
Specifies the audience for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- issuer String
Specifies the issuer of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- name String
Specifies the name of this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- parent
Id String Specifies parent ID of User Assigned Identity for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
- resource
Group StringName Specifies the name of the Resource Group within which this Federated Identity Credential should exist. Changing this forces a new Federated Identity Credential to be created.
- subject String
Specifies the subject for this Federated Identity Credential. Changing this forces a new Federated Identity Credential to be created.
Import
An existing Federated Identity Credential can be imported into Terraform using the resource id
, e.g.
$ pulumi import azure:armmsi/federatedIdentityCredential:FederatedIdentityCredential example /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{parentIdentityName}/federatedIdentityCredentials/{resourceName}
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.