Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

DebugToken

Creates a new DebugToken for the specified app. For security reasons, after the creation operation completes, the token field cannot be updated or retrieved, but you can revoke the debug token using DeleteDebugToken. Each app can have a maximum of 20 debug tokens.

Create DebugToken Resource

new DebugToken(name: string, args: DebugTokenArgs, opts?: CustomResourceOptions);
@overload
def DebugToken(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               app_id: Optional[str] = None,
               display_name: Optional[str] = None,
               name: Optional[str] = None,
               project: Optional[str] = None,
               token: Optional[str] = None)
@overload
def DebugToken(resource_name: str,
               args: DebugTokenArgs,
               opts: Optional[ResourceOptions] = None)
func NewDebugToken(ctx *Context, name string, args DebugTokenArgs, opts ...ResourceOption) (*DebugToken, error)
public DebugToken(string name, DebugTokenArgs args, CustomResourceOptions? opts = null)
public DebugToken(String name, DebugTokenArgs args)
public DebugToken(String name, DebugTokenArgs args, CustomResourceOptions options)
type: google-native:firebaseappcheck/v1:DebugToken
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

AppId string
DisplayName string

A human readable display name used to identify this debug token.

Token string

Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

Name string

The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

Project string
AppId string
DisplayName string

A human readable display name used to identify this debug token.

Token string

Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

Name string

The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

Project string
appId String
displayName String

A human readable display name used to identify this debug token.

token String

Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

name String

The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

project String
appId string
displayName string

A human readable display name used to identify this debug token.

token string

Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

name string

The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

project string
app_id str
display_name str

A human readable display name used to identify this debug token.

token str

Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

name str

The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

project str
appId String
displayName String

A human readable display name used to identify this debug token.

token String

Input only. Immutable. The secret token itself. Must be provided during creation, and must be a UUID4, case insensitive. This field is immutable once set, and cannot be provided during an UpdateDebugToken request. You can, however, delete this debug token using DeleteDebugToken to revoke it. For security reasons, this field will never be populated in any response.

name String

The relative resource name of the debug token, in the format: projects/{project_number}/apps/{app_id}/debugTokens/{debug_token_id}

project String

Outputs

All input properties are implicitly available as output properties. Additionally, the DebugToken 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.

Package Details

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