1. Registry
  2. Packages
  3. DigitalOcean Provider
  4. API Docs
  5. ActionGatewayProviderCredential
Viewing docs for DigitalOcean v4.86.0
published on Saturday, Nov 21, 2026 by Pulumi
digitalocean logo
Viewing docs for DigitalOcean v4.86.0
published on Saturday, Nov 21, 2026 by Pulumi

    Provides a DigitalOcean Action Gateway provider credential resource. A provider credential is an OAuth client or an API key that your team registers for a tool provider, such as GitHub, Jira, or Linear, to use instead of DigitalOcean’s shared OAuth application. A digitalocean.ActionGatewayConnection connects through it by its credentialId.

    Warning: Destroying a provider credential also deletes every connection that uses it, including connections Terraform does not manage, and their users lose access to the provider. The API cannot restore a deleted credential. Changing toolProvider, kind, clientId, or redirectUrl, or turning reusableByTeam off, replaces the credential, which destroys it first. Set preventDestroy on credentials you cannot afford to lose, as the examples below do. Rotating a secret or renaming a credential never replaces it.

    Note: The API never returns apiKey or clientSecret. Terraform keeps the values you configure in its state, marked sensitive, so protect the state accordingly.

    Example Usage

    OAuth client

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const config = new pulumi.Config();
    const githubClientSecret = config.require("githubClientSecret");
    const github = new digitalocean.ActionGatewayProviderCredential("github", {
        toolProvider: "github",
        kind: "oauth_client",
        displayName: "Production GitHub app",
        clientId: "Iv1.0123456789abcdef",
        clientSecret: githubClientSecret,
    });
    const githubActionGatewayConnection = new digitalocean.ActionGatewayConnection("github", {
        toolProvider: github.toolProvider,
        userId: "user-123",
        credentialId: github.id,
    });
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    config = pulumi.Config()
    github_client_secret = config.require("githubClientSecret")
    github = digitalocean.ActionGatewayProviderCredential("github",
        tool_provider="github",
        kind="oauth_client",
        display_name="Production GitHub app",
        client_id="Iv1.0123456789abcdef",
        client_secret=github_client_secret)
    github_action_gateway_connection = digitalocean.ActionGatewayConnection("github",
        tool_provider=github.tool_provider,
        user_id="user-123",
        credential_id=github.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		githubClientSecret := cfg.Require("githubClientSecret")
    		github, err := digitalocean.NewActionGatewayProviderCredential(ctx, "github", &digitalocean.ActionGatewayProviderCredentialArgs{
    			ToolProvider: pulumi.String("github"),
    			Kind:         pulumi.String("oauth_client"),
    			DisplayName:  pulumi.String("Production GitHub app"),
    			ClientId:     pulumi.String("Iv1.0123456789abcdef"),
    			ClientSecret: pulumi.String(githubClientSecret),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = digitalocean.NewActionGatewayConnection(ctx, "github", &digitalocean.ActionGatewayConnectionArgs{
    			ToolProvider: github.ToolProvider,
    			UserId:       pulumi.String("user-123"),
    			CredentialId: github.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var githubClientSecret = config.Require("githubClientSecret");
        var github = new DigitalOcean.ActionGatewayProviderCredential("github", new()
        {
            ToolProvider = "github",
            Kind = "oauth_client",
            DisplayName = "Production GitHub app",
            ClientId = "Iv1.0123456789abcdef",
            ClientSecret = githubClientSecret,
        });
    
        var githubActionGatewayConnection = new DigitalOcean.ActionGatewayConnection("github", new()
        {
            ToolProvider = github.ToolProvider,
            UserId = "user-123",
            CredentialId = github.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.ActionGatewayProviderCredential;
    import com.pulumi.digitalocean.ActionGatewayProviderCredentialArgs;
    import com.pulumi.digitalocean.ActionGatewayConnection;
    import com.pulumi.digitalocean.ActionGatewayConnectionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var githubClientSecret = config.require("githubClientSecret");
            var github = new ActionGatewayProviderCredential("github", ActionGatewayProviderCredentialArgs.builder()
                .toolProvider("github")
                .kind("oauth_client")
                .displayName("Production GitHub app")
                .clientId("Iv1.0123456789abcdef")
                .clientSecret(githubClientSecret)
                .build());
    
            var githubActionGatewayConnection = new ActionGatewayConnection("githubActionGatewayConnection", ActionGatewayConnectionArgs.builder()
                .toolProvider(github.toolProvider())
                .userId("user-123")
                .credentialId(github.id())
                .build());
    
        }
    }
    
    configuration:
      githubClientSecret:
        type: string
    resources:
      github:
        type: digitalocean:ActionGatewayProviderCredential
        properties:
          toolProvider: github
          kind: oauth_client
          displayName: Production GitHub app
          clientId: Iv1.0123456789abcdef
          clientSecret: ${githubClientSecret}
      githubActionGatewayConnection:
        type: digitalocean:ActionGatewayConnection
        name: github
        properties:
          toolProvider: ${github.toolProvider}
          userId: user-123
          credentialId: ${github.id}
    
    terraform {
      required_providers {
        digitalocean = {
          source = "pulumi/digitalocean"
        }
      }
    }
    
    resource "digitalocean_action_gateway_provider_credential" "github" {
      lifecycle {
        create_before_destroy = true
      }
      tool_provider = "github"
      kind          = "oauth_client"
      display_name  = "Production GitHub app"
      client_id     = "Iv1.0123456789abcdef"
      client_secret = var.githubClientSecret
    }
    resource "digitalocean_action_gateway_connection" "github" {
      lifecycle {
        create_before_destroy = true
      }
      tool_provider = digitalocean_action_gateway_provider_credential.github.tool_provider
      user_id       = "user-123"
      credential_id = digitalocean_action_gateway_provider_credential.github.id
    }
    variable "githubClientSecret" {
      type = string
    }
    

    API key

    A connection through an API-key credential is active immediately, without an authorization step.

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const config = new pulumi.Config();
    const linearApiKey = config.require("linearApiKey");
    const linear = new digitalocean.ActionGatewayProviderCredential("linear", {
        toolProvider: "linear",
        kind: "api_key",
        displayName: "Production key",
        apiKey: linearApiKey,
    });
    const linearActionGatewayConnection = new digitalocean.ActionGatewayConnection("linear", {
        toolProvider: linear.toolProvider,
        userId: "support-bot",
        credentialId: linear.id,
    });
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    config = pulumi.Config()
    linear_api_key = config.require("linearApiKey")
    linear = digitalocean.ActionGatewayProviderCredential("linear",
        tool_provider="linear",
        kind="api_key",
        display_name="Production key",
        api_key=linear_api_key)
    linear_action_gateway_connection = digitalocean.ActionGatewayConnection("linear",
        tool_provider=linear.tool_provider,
        user_id="support-bot",
        credential_id=linear.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		linearApiKey := cfg.Require("linearApiKey")
    		linear, err := digitalocean.NewActionGatewayProviderCredential(ctx, "linear", &digitalocean.ActionGatewayProviderCredentialArgs{
    			ToolProvider: pulumi.String("linear"),
    			Kind:         pulumi.String("api_key"),
    			DisplayName:  pulumi.String("Production key"),
    			ApiKey:       pulumi.String(linearApiKey),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = digitalocean.NewActionGatewayConnection(ctx, "linear", &digitalocean.ActionGatewayConnectionArgs{
    			ToolProvider: linear.ToolProvider,
    			UserId:       pulumi.String("support-bot"),
    			CredentialId: linear.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var linearApiKey = config.Require("linearApiKey");
        var linear = new DigitalOcean.ActionGatewayProviderCredential("linear", new()
        {
            ToolProvider = "linear",
            Kind = "api_key",
            DisplayName = "Production key",
            ApiKey = linearApiKey,
        });
    
        var linearActionGatewayConnection = new DigitalOcean.ActionGatewayConnection("linear", new()
        {
            ToolProvider = linear.ToolProvider,
            UserId = "support-bot",
            CredentialId = linear.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.ActionGatewayProviderCredential;
    import com.pulumi.digitalocean.ActionGatewayProviderCredentialArgs;
    import com.pulumi.digitalocean.ActionGatewayConnection;
    import com.pulumi.digitalocean.ActionGatewayConnectionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var config = ctx.config();
            final var linearApiKey = config.require("linearApiKey");
            var linear = new ActionGatewayProviderCredential("linear", ActionGatewayProviderCredentialArgs.builder()
                .toolProvider("linear")
                .kind("api_key")
                .displayName("Production key")
                .apiKey(linearApiKey)
                .build());
    
            var linearActionGatewayConnection = new ActionGatewayConnection("linearActionGatewayConnection", ActionGatewayConnectionArgs.builder()
                .toolProvider(linear.toolProvider())
                .userId("support-bot")
                .credentialId(linear.id())
                .build());
    
        }
    }
    
    configuration:
      linearApiKey:
        type: string
    resources:
      linear:
        type: digitalocean:ActionGatewayProviderCredential
        properties:
          toolProvider: linear
          kind: api_key
          displayName: Production key
          apiKey: ${linearApiKey}
      linearActionGatewayConnection:
        type: digitalocean:ActionGatewayConnection
        name: linear
        properties:
          toolProvider: ${linear.toolProvider}
          userId: support-bot
          credentialId: ${linear.id}
    
    terraform {
      required_providers {
        digitalocean = {
          source = "pulumi/digitalocean"
        }
      }
    }
    
    resource "digitalocean_action_gateway_provider_credential" "linear" {
      lifecycle {
        create_before_destroy = true
      }
      tool_provider = "linear"
      kind          = "api_key"
      display_name  = "Production key"
      api_key       = var.linearApiKey
    }
    resource "digitalocean_action_gateway_connection" "linear" {
      lifecycle {
        create_before_destroy = true
      }
      tool_provider = digitalocean_action_gateway_provider_credential.linear.tool_provider
      user_id       = "support-bot"
      credential_id = digitalocean_action_gateway_provider_credential.linear.id
    }
    variable "linearApiKey" {
      type = string
    }
    

    API key with credential parameters

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    const example = new digitalocean.ActionGatewayProviderCredential("example", {
        toolProvider: "example-provider",
        kind: "api_key",
        displayName: "Production key",
        apiKey: exampleApiKey,
        credentialParameters: {
            subdomain: "example",
        },
    });
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    example = digitalocean.ActionGatewayProviderCredential("example",
        tool_provider="example-provider",
        kind="api_key",
        display_name="Production key",
        api_key=example_api_key,
        credential_parameters={
            "subdomain": "example",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := digitalocean.NewActionGatewayProviderCredential(ctx, "example", &digitalocean.ActionGatewayProviderCredentialArgs{
    			ToolProvider: pulumi.String("example-provider"),
    			Kind:         pulumi.String("api_key"),
    			DisplayName:  pulumi.String("Production key"),
    			ApiKey:       pulumi.Any(exampleApiKey),
    			CredentialParameters: pulumi.StringMap{
    				"subdomain": pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new DigitalOcean.ActionGatewayProviderCredential("example", new()
        {
            ToolProvider = "example-provider",
            Kind = "api_key",
            DisplayName = "Production key",
            ApiKey = exampleApiKey,
            CredentialParameters = 
            {
                { "subdomain", "example" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.ActionGatewayProviderCredential;
    import com.pulumi.digitalocean.ActionGatewayProviderCredentialArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ActionGatewayProviderCredential("example", ActionGatewayProviderCredentialArgs.builder()
                .toolProvider("example-provider")
                .kind("api_key")
                .displayName("Production key")
                .apiKey(exampleApiKey)
                .credentialParameters(Map.of("subdomain", "example"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: digitalocean:ActionGatewayProviderCredential
        properties:
          toolProvider: example-provider
          kind: api_key
          displayName: Production key
          apiKey: ${exampleApiKey}
          credentialParameters:
            subdomain: example
    
    terraform {
      required_providers {
        digitalocean = {
          source = "pulumi/digitalocean"
        }
      }
    }
    
    resource "digitalocean_action_gateway_provider_credential" "example" {
      lifecycle {
        create_before_destroy = true
      }
      tool_provider = "example-provider"
      kind          = "api_key"
      display_name  = "Production key"
      api_key       = exampleApiKey
      credential_parameters = {
        "subdomain" = "example"
      }
    }
    

    Create ActionGatewayProviderCredential Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ActionGatewayProviderCredential(name: string, args: ActionGatewayProviderCredentialArgs, opts?: CustomResourceOptions);
    @overload
    def ActionGatewayProviderCredential(resource_name: str,
                                        args: ActionGatewayProviderCredentialArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ActionGatewayProviderCredential(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        display_name: Optional[str] = None,
                                        kind: Optional[str] = None,
                                        tool_provider: Optional[str] = None,
                                        api_key: Optional[str] = None,
                                        base_url: Optional[str] = None,
                                        client_id: Optional[str] = None,
                                        client_secret: Optional[str] = None,
                                        credential_parameters: Optional[Mapping[str, str]] = None,
                                        redirect_url: Optional[str] = None,
                                        reusable_by_team: Optional[bool] = None)
    func NewActionGatewayProviderCredential(ctx *Context, name string, args ActionGatewayProviderCredentialArgs, opts ...ResourceOption) (*ActionGatewayProviderCredential, error)
    public ActionGatewayProviderCredential(string name, ActionGatewayProviderCredentialArgs args, CustomResourceOptions? opts = null)
    public ActionGatewayProviderCredential(String name, ActionGatewayProviderCredentialArgs args)
    public ActionGatewayProviderCredential(String name, ActionGatewayProviderCredentialArgs args, CustomResourceOptions options)
    
    type: digitalocean:ActionGatewayProviderCredential
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "digitalocean_action_gateway_provider_credential" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ActionGatewayProviderCredentialArgs
    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 ActionGatewayProviderCredentialArgs
    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 ActionGatewayProviderCredentialArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActionGatewayProviderCredentialArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActionGatewayProviderCredentialArgs
    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 actionGatewayProviderCredentialResource = new DigitalOcean.ActionGatewayProviderCredential("actionGatewayProviderCredentialResource", new()
    {
        DisplayName = "string",
        Kind = "string",
        ToolProvider = "string",
        ApiKey = "string",
        BaseUrl = "string",
        ClientId = "string",
        ClientSecret = "string",
        CredentialParameters = 
        {
            { "string", "string" },
        },
        RedirectUrl = "string",
        ReusableByTeam = false,
    });
    
    example, err := digitalocean.NewActionGatewayProviderCredential(ctx, "actionGatewayProviderCredentialResource", &digitalocean.ActionGatewayProviderCredentialArgs{
    	DisplayName:  pulumi.String("string"),
    	Kind:         pulumi.String("string"),
    	ToolProvider: pulumi.String("string"),
    	ApiKey:       pulumi.String("string"),
    	BaseUrl:      pulumi.String("string"),
    	ClientId:     pulumi.String("string"),
    	ClientSecret: pulumi.String("string"),
    	CredentialParameters: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	RedirectUrl:    pulumi.String("string"),
    	ReusableByTeam: pulumi.Bool(false),
    })
    
    resource "digitalocean_action_gateway_provider_credential" "actionGatewayProviderCredentialResource" {
      lifecycle {
        create_before_destroy = true
      }
      display_name  = "string"
      kind          = "string"
      tool_provider = "string"
      api_key       = "string"
      base_url      = "string"
      client_id     = "string"
      client_secret = "string"
      credential_parameters = {
        "string" = "string"
      }
      redirect_url     = "string"
      reusable_by_team = false
    }
    
    var actionGatewayProviderCredentialResource = new ActionGatewayProviderCredential("actionGatewayProviderCredentialResource", ActionGatewayProviderCredentialArgs.builder()
        .displayName("string")
        .kind("string")
        .toolProvider("string")
        .apiKey("string")
        .baseUrl("string")
        .clientId("string")
        .clientSecret("string")
        .credentialParameters(Map.of("string", "string"))
        .redirectUrl("string")
        .reusableByTeam(false)
        .build());
    
    action_gateway_provider_credential_resource = digitalocean.ActionGatewayProviderCredential("actionGatewayProviderCredentialResource",
        display_name="string",
        kind="string",
        tool_provider="string",
        api_key="string",
        base_url="string",
        client_id="string",
        client_secret="string",
        credential_parameters={
            "string": "string",
        },
        redirect_url="string",
        reusable_by_team=False)
    
    const actionGatewayProviderCredentialResource = new digitalocean.ActionGatewayProviderCredential("actionGatewayProviderCredentialResource", {
        displayName: "string",
        kind: "string",
        toolProvider: "string",
        apiKey: "string",
        baseUrl: "string",
        clientId: "string",
        clientSecret: "string",
        credentialParameters: {
            string: "string",
        },
        redirectUrl: "string",
        reusableByTeam: false,
    });
    
    type: digitalocean:ActionGatewayProviderCredential
    properties:
        apiKey: string
        baseUrl: string
        clientId: string
        clientSecret: string
        credentialParameters:
            string: string
        displayName: string
        kind: string
        redirectUrl: string
        reusableByTeam: false
        toolProvider: string
    

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

    DisplayName string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    Kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    ToolProvider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    ApiKey string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    BaseUrl string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    ClientId string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    ClientSecret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    CredentialParameters Dictionary<string, string>
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    RedirectUrl string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    ReusableByTeam bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    DisplayName string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    Kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    ToolProvider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    ApiKey string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    BaseUrl string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    ClientId string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    ClientSecret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    CredentialParameters map[string]string
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    RedirectUrl string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    ReusableByTeam bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    display_name string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    tool_provider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    api_key string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    base_url string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    client_id string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    client_secret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    credential_parameters map(string)
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    redirect_url string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusable_by_team bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    displayName String
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind String
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    toolProvider String
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    apiKey String
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    baseUrl String
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    clientId String
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    clientSecret String
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    credentialParameters Map<String,String>
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    redirectUrl String
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusableByTeam Boolean
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    displayName string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    toolProvider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    apiKey string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    baseUrl string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    clientId string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    clientSecret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    credentialParameters {[key: string]: string}
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    redirectUrl string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusableByTeam boolean
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    display_name str
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind str
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    tool_provider str
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    api_key str
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    base_url str
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    client_id str
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    client_secret str
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    credential_parameters Mapping[str, str]
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    redirect_url str
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusable_by_team bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    displayName String
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind String
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    toolProvider String
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    apiKey String
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    baseUrl String
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    clientId String
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    clientSecret String
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    credentialParameters Map<String>
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    redirectUrl String
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusableByTeam Boolean
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.

    Outputs

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

    CreatedAt string
    When the credential was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwningUserId string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    Scope string
    Who can use the credential: user for only its creator, or team.
    Status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    UpdatedAt string
    When the credential was last modified.
    CreatedAt string
    When the credential was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    OwningUserId string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    Scope string
    Who can use the credential: user for only its creator, or team.
    Status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    UpdatedAt string
    When the credential was last modified.
    created_at string
    When the credential was created.
    id string
    The provider-assigned unique ID for this managed resource.
    owning_user_id string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    scope string
    Who can use the credential: user for only its creator, or team.
    status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    updated_at string
    When the credential was last modified.
    createdAt String
    When the credential was created.
    id String
    The provider-assigned unique ID for this managed resource.
    owningUserId String
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    scope String
    Who can use the credential: user for only its creator, or team.
    status String
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    updatedAt String
    When the credential was last modified.
    createdAt string
    When the credential was created.
    id string
    The provider-assigned unique ID for this managed resource.
    owningUserId string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    scope string
    Who can use the credential: user for only its creator, or team.
    status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    updatedAt string
    When the credential was last modified.
    created_at str
    When the credential was created.
    id str
    The provider-assigned unique ID for this managed resource.
    owning_user_id str
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    scope str
    Who can use the credential: user for only its creator, or team.
    status str
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    updated_at str
    When the credential was last modified.
    createdAt String
    When the credential was created.
    id String
    The provider-assigned unique ID for this managed resource.
    owningUserId String
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    scope String
    Who can use the credential: user for only its creator, or team.
    status String
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    updatedAt String
    When the credential was last modified.

    Look up Existing ActionGatewayProviderCredential Resource

    Get an existing ActionGatewayProviderCredential 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?: ActionGatewayProviderCredentialState, opts?: CustomResourceOptions): ActionGatewayProviderCredential
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api_key: Optional[str] = None,
            base_url: Optional[str] = None,
            client_id: Optional[str] = None,
            client_secret: Optional[str] = None,
            created_at: Optional[str] = None,
            credential_parameters: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            kind: Optional[str] = None,
            owning_user_id: Optional[str] = None,
            redirect_url: Optional[str] = None,
            reusable_by_team: Optional[bool] = None,
            scope: Optional[str] = None,
            status: Optional[str] = None,
            tool_provider: Optional[str] = None,
            updated_at: Optional[str] = None) -> ActionGatewayProviderCredential
    func GetActionGatewayProviderCredential(ctx *Context, name string, id IDInput, state *ActionGatewayProviderCredentialState, opts ...ResourceOption) (*ActionGatewayProviderCredential, error)
    public static ActionGatewayProviderCredential Get(string name, Input<string> id, ActionGatewayProviderCredentialState? state, CustomResourceOptions? opts = null)
    public static ActionGatewayProviderCredential get(String name, Output<String> id, ActionGatewayProviderCredentialState state, CustomResourceOptions options)
    resources:  existingActionGatewayProviderCredential:    type: digitalocean:ActionGatewayProviderCredential    get:      id: ${id}
    import {
      to = digitalocean_action_gateway_provider_credential.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state ActionGatewayProviderCredentialState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ActionGatewayProviderCredentialState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state ActionGatewayProviderCredentialState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state ActionGatewayProviderCredentialState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    ApiKey string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    BaseUrl string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    ClientId string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    ClientSecret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    CreatedAt string
    When the credential was created.
    CredentialParameters Dictionary<string, string>
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    DisplayName string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    Kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    OwningUserId string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    RedirectUrl string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    ReusableByTeam bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    Scope string
    Who can use the credential: user for only its creator, or team.
    Status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    ToolProvider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    UpdatedAt string
    When the credential was last modified.
    ApiKey string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    BaseUrl string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    ClientId string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    ClientSecret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    CreatedAt string
    When the credential was created.
    CredentialParameters map[string]string
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    DisplayName string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    Kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    OwningUserId string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    RedirectUrl string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    ReusableByTeam bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    Scope string
    Who can use the credential: user for only its creator, or team.
    Status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    ToolProvider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    UpdatedAt string
    When the credential was last modified.
    api_key string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    base_url string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    client_id string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    client_secret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    created_at string
    When the credential was created.
    credential_parameters map(string)
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    display_name string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    owning_user_id string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    redirect_url string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusable_by_team bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    scope string
    Who can use the credential: user for only its creator, or team.
    status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    tool_provider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    updated_at string
    When the credential was last modified.
    apiKey String
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    baseUrl String
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    clientId String
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    clientSecret String
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    createdAt String
    When the credential was created.
    credentialParameters Map<String,String>
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    displayName String
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind String
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    owningUserId String
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    redirectUrl String
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusableByTeam Boolean
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    scope String
    Who can use the credential: user for only its creator, or team.
    status String
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    toolProvider String
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    updatedAt String
    When the credential was last modified.
    apiKey string
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    baseUrl string
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    clientId string
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    clientSecret string
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    createdAt string
    When the credential was created.
    credentialParameters {[key: string]: string}
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    displayName string
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind string
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    owningUserId string
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    redirectUrl string
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusableByTeam boolean
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    scope string
    Who can use the credential: user for only its creator, or team.
    status string
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    toolProvider string
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    updatedAt string
    When the credential was last modified.
    api_key str
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    base_url str
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    client_id str
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    client_secret str
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    created_at str
    When the credential was created.
    credential_parameters Mapping[str, str]
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    display_name str
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind str
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    owning_user_id str
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    redirect_url str
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusable_by_team bool
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    scope str
    Who can use the credential: user for only its creator, or team.
    status str
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    tool_provider str
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    updated_at str
    When the credential was last modified.
    apiKey String
    The key or token sent to the tool provider. Required for kind = "apiKey" and not accepted otherwise. Changing it rotates the key in place: the credential keeps its ID, and its connections use the new key on their next call.
    baseUrl String
    The HTTPS origin of the tool provider's API, such as https://api.example.com. Accepted only by tool providers that allow one. Conflicts with credentialParameters. Removing it from the configuration leaves the stored origin in place.
    clientId String
    The client ID of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. A credential is bound to the client ID it was registered with, so changing this replaces the credential.
    clientSecret String
    The client secret of your OAuth client. Required for kind = "oauthClient" and not accepted otherwise. Changing it rotates the secret in place.
    createdAt String
    When the credential was created.
    credentialParameters Map<String>
    A map of values for the credential parameters the tool provider declares, which the providers API lists as credentialParameters. The API validates them and derives baseUrl from them. Accepted only for kind = "apiKey". Conflicts with baseUrl.
    displayName String
    A label of 1 to 255 characters, unique among your team's credentials for the tool provider, ignoring case.
    kind String
    The kind of credential: oauthClient for an OAuth client you created at the tool provider, or apiKey for a key or token. Changing this replaces the credential.
    owningUserId String
    The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
    redirectUrl String
    The HTTPS redirect URI registered with your OAuth client, for kind = "oauthClient" only. Custom OAuth redirects must be enabled for your account. Omit it to use DigitalOcean's callback. Changing this replaces the credential.
    reusableByTeam Boolean
    Whether everyone on your team can see and use the credential instead of only the DigitalOcean user who owns Terraform's API token. Defaults to false. Sharing a credential may require the team owner role. Sharing cannot be undone, so changing this from true to false replaces the credential.
    scope String
    Who can use the credential: user for only its creator, or team.
    status String
    The status of the credential: active or disabled. Connections cannot use a disabled credential.
    toolProvider String
    The slug of the tool provider the credential is for, such as github or jira. The digitalocean.getActionGatewayProviders data source lists the available providers and, in authTypes, the kinds of credential each accepts. Changing this replaces the credential.
    updatedAt String
    When the credential was last modified.

    Import

    A provider credential can be imported using its id, e.g.

    $ pulumi import digitalocean:index/actionGatewayProviderCredential:ActionGatewayProviderCredential github example-credential-id
    

    The API does not return a credential’s secret or its OAuth client ID, so an imported credential has neither in state, and the first plan after an import shows them being set. Applying it sends the configured apiKey, or clientId and clientSecret, as an in-place update that keeps the credential and its connections. For an OAuth client the API accepts that update only when clientId is the ID the credential was registered with, so a credential imported into the wrong configuration fails to apply instead of being overwritten.

    Import reads toolProvider, kind, and redirectUrl from the API. If one differs from your configuration, the next plan replaces the credential. Run pulumi preview after importing and make sure it shows an in-place update, not a replacement, before you apply.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    Viewing docs for DigitalOcean v4.86.0
    published on Saturday, Nov 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial