Show / Hide Table of Contents

Class AccessServiceToken

Access Service Tokens are used for service-to-service communication when an application is behind Cloudflare Access.

Example Usage

using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

class MyStack : Stack
{
public MyStack()
{
    var myApp = new Cloudflare.AccessServiceToken("myApp", new Cloudflare.AccessServiceTokenArgs
    {
        AccountId = "d41d8cd98f00b204e9800998ecf8427e",
        Name = "CI/CD app",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AccessServiceToken
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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.Cloudflare
Assembly: Pulumi.Cloudflare.dll
Syntax
public class AccessServiceToken : CustomResource

Constructors

View Source

AccessServiceToken(String, AccessServiceTokenArgs, CustomResourceOptions)

Create a AccessServiceToken resource with the given unique name, arguments, and options.

Declaration
public AccessServiceToken(string name, AccessServiceTokenArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccessServiceTokenArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AccountId

The ID of the account where the Access Service is being created.

Declaration
public Output<string> AccountId { get; }
Property Value
Type Description
Output<System.String>
View Source

ClientId

UUID client ID associated with the Service Token.

Declaration
public Output<string> ClientId { get; }
Property Value
Type Description
Output<System.String>
View Source

ClientSecret

A secret for interacting with Access protocols.

Declaration
public Output<string> ClientSecret { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Friendly name of the token's intent.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AccessServiceTokenState, CustomResourceOptions)

Get an existing AccessServiceToken resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AccessServiceToken Get(string name, Input<string> id, AccessServiceTokenState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AccessServiceTokenState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AccessServiceToken
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.