AccessToken

Access tokens allow a user to authenticate against the Pulumi Service

Create AccessToken Resource

new AccessToken(name: string, args: AccessTokenArgs, opts?: CustomResourceOptions);
@overload
def AccessToken(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                description: Optional[str] = None)
@overload
def AccessToken(resource_name: str,
                args: AccessTokenArgs,
                opts: Optional[ResourceOptions] = None)
func NewAccessToken(ctx *Context, name string, args AccessTokenArgs, opts ...ResourceOption) (*AccessToken, error)
public AccessToken(string name, AccessTokenArgs args, CustomResourceOptions? opts = null)
public AccessToken(String name, AccessTokenArgs args)
public AccessToken(String name, AccessTokenArgs args, CustomResourceOptions options)
type: pulumiservice:AccessToken
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AccessTokenArgs
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 AccessTokenArgs
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 AccessTokenArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccessTokenArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AccessTokenArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AccessToken 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 AccessToken resource accepts the following input properties:

Description string

Description of the access token.

Description string

Description of the access token.

description String

Description of the access token.

description string

Description of the access token.

description str

Description of the access token.

description String

Description of the access token.

Outputs

All input properties are implicitly available as output properties. Additionally, the AccessToken resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

TokenId string

The token identifier.

Value string

The token's value.

Id string

The provider-assigned unique ID for this managed resource.

TokenId string

The token identifier.

Value string

The token's value.

id String

The provider-assigned unique ID for this managed resource.

tokenId String

The token identifier.

value String

The token's value.

id string

The provider-assigned unique ID for this managed resource.

tokenId string

The token identifier.

value string

The token's value.

id str

The provider-assigned unique ID for this managed resource.

token_id str

The token identifier.

value str

The token's value.

id String

The provider-assigned unique ID for this managed resource.

tokenId String

The token identifier.

value String

The token's value.

Package Details

Repository
https://github.com/pulumi/pulumi-pulumiservice
License
Apache-2.0