Class TokenArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public sealed class TokenArgs : ResourceArgs
Constructors
View SourceTokenArgs()
Declaration
public TokenArgs()
Properties
View SourceExpiry
When this token will expire. Personal Access Tokens cannot be renewed, so after this time the token will be completely unusable and a new token will need to be generated. Tokens may be created with 'null' as their expiry and will never expire unless revoked.
Declaration
public Input<string> Expiry { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Label
A label for the Token.
Declaration
public Input<string> Label { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Scopes
The scopes this token was created with. These define what parts of the Account the token can be used to access. Many command-line tools, such as the Linode CLI, require tokens with access to *. Tokens with more restrictive scopes are generally more secure.
Declaration
public Input<string> Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |