octopusdeploy.ServiceAccountOidcIdentity
Explore with Pulumi AI
This resource manages manages OIDC service account for the associated user
Create ServiceAccountOidcIdentity Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceAccountOidcIdentity(name: string, args: ServiceAccountOidcIdentityArgs, opts?: CustomResourceOptions);
@overload
def ServiceAccountOidcIdentity(resource_name: str,
args: ServiceAccountOidcIdentityArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceAccountOidcIdentity(resource_name: str,
opts: Optional[ResourceOptions] = None,
issuer: Optional[str] = None,
service_account_id: Optional[str] = None,
subject: Optional[str] = None,
name: Optional[str] = None)
func NewServiceAccountOidcIdentity(ctx *Context, name string, args ServiceAccountOidcIdentityArgs, opts ...ResourceOption) (*ServiceAccountOidcIdentity, error)
public ServiceAccountOidcIdentity(string name, ServiceAccountOidcIdentityArgs args, CustomResourceOptions? opts = null)
public ServiceAccountOidcIdentity(String name, ServiceAccountOidcIdentityArgs args)
public ServiceAccountOidcIdentity(String name, ServiceAccountOidcIdentityArgs args, CustomResourceOptions options)
type: octopusdeploy:ServiceAccountOidcIdentity
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServiceAccountOidcIdentityArgs
- 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 ServiceAccountOidcIdentityArgs
- 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 ServiceAccountOidcIdentityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceAccountOidcIdentityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceAccountOidcIdentityArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceAccountOidcIdentityResource = new Octopusdeploy.ServiceAccountOidcIdentity("serviceAccountOidcIdentityResource", new()
{
Issuer = "string",
ServiceAccountId = "string",
Subject = "string",
Name = "string",
});
example, err := octopusdeploy.NewServiceAccountOidcIdentity(ctx, "serviceAccountOidcIdentityResource", &octopusdeploy.ServiceAccountOidcIdentityArgs{
Issuer: pulumi.String("string"),
ServiceAccountId: pulumi.String("string"),
Subject: pulumi.String("string"),
Name: pulumi.String("string"),
})
var serviceAccountOidcIdentityResource = new ServiceAccountOidcIdentity("serviceAccountOidcIdentityResource", ServiceAccountOidcIdentityArgs.builder()
.issuer("string")
.serviceAccountId("string")
.subject("string")
.name("string")
.build());
service_account_oidc_identity_resource = octopusdeploy.ServiceAccountOidcIdentity("serviceAccountOidcIdentityResource",
issuer="string",
service_account_id="string",
subject="string",
name="string")
const serviceAccountOidcIdentityResource = new octopusdeploy.ServiceAccountOidcIdentity("serviceAccountOidcIdentityResource", {
issuer: "string",
serviceAccountId: "string",
subject: "string",
name: "string",
});
type: octopusdeploy:ServiceAccountOidcIdentity
properties:
issuer: string
name: string
serviceAccountId: string
subject: string
ServiceAccountOidcIdentity Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceAccountOidcIdentity resource accepts the following input properties:
- Issuer string
- OIDC issuer url
- Service
Account stringId - ID of the user to associate this identity to
- Subject string
- OIDC subject claims
- Name string
- The name of this resource.
- Issuer string
- OIDC issuer url
- Service
Account stringId - ID of the user to associate this identity to
- Subject string
- OIDC subject claims
- Name string
- The name of this resource.
- issuer String
- OIDC issuer url
- service
Account StringId - ID of the user to associate this identity to
- subject String
- OIDC subject claims
- name String
- The name of this resource.
- issuer string
- OIDC issuer url
- service
Account stringId - ID of the user to associate this identity to
- subject string
- OIDC subject claims
- name string
- The name of this resource.
- issuer str
- OIDC issuer url
- service_
account_ strid - ID of the user to associate this identity to
- subject str
- OIDC subject claims
- name str
- The name of this resource.
- issuer String
- OIDC issuer url
- service
Account StringId - ID of the user to associate this identity to
- subject String
- OIDC subject claims
- name String
- The name of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceAccountOidcIdentity 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 ServiceAccountOidcIdentity Resource
Get an existing ServiceAccountOidcIdentity 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?: ServiceAccountOidcIdentityState, opts?: CustomResourceOptions): ServiceAccountOidcIdentity
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
issuer: Optional[str] = None,
name: Optional[str] = None,
service_account_id: Optional[str] = None,
subject: Optional[str] = None) -> ServiceAccountOidcIdentity
func GetServiceAccountOidcIdentity(ctx *Context, name string, id IDInput, state *ServiceAccountOidcIdentityState, opts ...ResourceOption) (*ServiceAccountOidcIdentity, error)
public static ServiceAccountOidcIdentity Get(string name, Input<string> id, ServiceAccountOidcIdentityState? state, CustomResourceOptions? opts = null)
public static ServiceAccountOidcIdentity get(String name, Output<String> id, ServiceAccountOidcIdentityState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:ServiceAccountOidcIdentity get: id: ${id}
- 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.
- Issuer string
- OIDC issuer url
- Name string
- The name of this resource.
- Service
Account stringId - ID of the user to associate this identity to
- Subject string
- OIDC subject claims
- Issuer string
- OIDC issuer url
- Name string
- The name of this resource.
- Service
Account stringId - ID of the user to associate this identity to
- Subject string
- OIDC subject claims
- issuer String
- OIDC issuer url
- name String
- The name of this resource.
- service
Account StringId - ID of the user to associate this identity to
- subject String
- OIDC subject claims
- issuer string
- OIDC issuer url
- name string
- The name of this resource.
- service
Account stringId - ID of the user to associate this identity to
- subject string
- OIDC subject claims
- issuer str
- OIDC issuer url
- name str
- The name of this resource.
- service_
account_ strid - ID of the user to associate this identity to
- subject str
- OIDC subject claims
- issuer String
- OIDC issuer url
- name String
- The name of this resource.
- service
Account StringId - ID of the user to associate this identity to
- subject String
- OIDC subject claims
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.