published on Saturday, Nov 21, 2026 by Pulumi
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, orredirectUrl, or turningreusableByTeamoff, replaces the credential, which destroys it first. SetpreventDestroyon 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
apiKeyorclientSecret. 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:
- 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - Tool
Provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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 boolTeam - 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 fromtruetofalsereplaces 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - Tool
Provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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]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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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 boolTeam - 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 fromtruetofalsereplaces 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - tool_
provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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_ boolteam - 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 fromtruetofalsereplaces 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - tool
Provider String - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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,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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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 BooleanTeam - 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 fromtruetofalsereplaces 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - tool
Provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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 {[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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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 booleanTeam - 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 fromtruetofalsereplaces 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - tool_
provider str - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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_ boolteam - 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 fromtruetofalsereplaces 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - tool
Provider String - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, 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 withcredentialParameters. 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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 BooleanTeam - 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 fromtruetofalsereplaces the credential.
Outputs
All input properties are implicitly available as output properties. Additionally, the ActionGatewayProviderCredential resource produces the following output properties:
- Created
At string - When the credential was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owning
User stringId - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- Scope string
- Who can use the credential:
userfor only its creator, orteam. - Status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - Updated
At 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 stringId - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- Scope string
- Who can use the credential:
userfor only its creator, orteam. - Status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - Updated
At 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_ stringid - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- scope string
- Who can use the credential:
userfor only its creator, orteam. - status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - updated_
at 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 StringId - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- scope String
- Who can use the credential:
userfor only its creator, orteam. - status String
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - updated
At 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 stringId - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- scope string
- Who can use the credential:
userfor only its creator, orteam. - status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - updated
At 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_ strid - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- scope str
- Who can use the credential:
userfor only its creator, orteam. - status str
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - updated_
at str - 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 StringId - The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
- scope String
- Who can use the credential:
userfor only its creator, orteam. - status String
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - updated
At 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) -> ActionGatewayProviderCredentialfunc 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.
- 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 withcredentialParameters. 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 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - Owning
User stringId - 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 boolTeam - 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 fromtruetofalsereplaces the credential. - Scope string
- Who can use the credential:
userfor only its creator, orteam. - Status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - Tool
Provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - Updated
At 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 withcredentialParameters. 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]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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - Owning
User stringId - 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 boolTeam - 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 fromtruetofalsereplaces the credential. - Scope string
- Who can use the credential:
userfor only its creator, orteam. - Status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - Tool
Provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - Updated
At 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 withcredentialParameters. 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - owning_
user_ stringid - 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_ boolteam - 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 fromtruetofalsereplaces the credential. - scope string
- Who can use the credential:
userfor only its creator, orteam. - status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - tool_
provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - updated_
at 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 withcredentialParameters. 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,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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - owning
User StringId - 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 BooleanTeam - 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 fromtruetofalsereplaces the credential. - scope String
- Who can use the credential:
userfor only its creator, orteam. - status String
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - tool
Provider String - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - updated
At 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 withcredentialParameters. 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 {[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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - owning
User stringId - 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 booleanTeam - 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 fromtruetofalsereplaces the credential. - scope string
- Who can use the credential:
userfor only its creator, orteam. - status string
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - tool
Provider string - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - updated
At 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 withcredentialParameters. 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - owning_
user_ strid - 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_ boolteam - 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 fromtruetofalsereplaces the credential. - scope str
- Who can use the credential:
userfor only its creator, orteam. - status str
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - tool_
provider str - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - updated_
at str - 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 withcredentialParameters. 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 derivesbaseUrlfrom them. Accepted only forkind = "apiKey". Conflicts withbaseUrl. - 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:
oauthClientfor an OAuth client you created at the tool provider, orapiKeyfor a key or token. Changing this replaces the credential. - owning
User StringId - 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 BooleanTeam - 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 fromtruetofalsereplaces the credential. - scope String
- Who can use the credential:
userfor only its creator, orteam. - status String
- The status of the credential:
activeordisabled. Connections cannot use a disabled credential. - tool
Provider String - The slug of the tool provider the credential is for, such as
githuborjira. Thedigitalocean.getActionGatewayProvidersdata source lists the available providers and, inauthTypes, the kinds of credential each accepts. Changing this replaces the credential. - updated
At 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
digitaloceanTerraform Provider.
published on Saturday, Nov 21, 2026 by Pulumi