published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
Destroy Warning Credentials cannot be deleted if they are still associated with active synthetic monitors. Terraform will proceed with the destroy operation, but the credential will not be removed if any associations remain. Action Required: Before destroying this resource, ensure the credential is removed from all associated monitors. If any monitors remain associated after destroy, you must manually remove those associations and delete the credential manually.
This resource requires the API token scopes Read credential vault entries (
credentialVault.read) and Write credential vault entries (credentialVault.write)
Dynatrace Documentation
Credential vault for synthetic monitors - https://www.dynatrace.com/support/help/platform-modules/digital-experience/synthetic-monitoring/general-information/credential-vault-for-synthetic-monitors
Credential vault API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/credential-vault
External vault integration for Azure Key Vault, HashiCorp Vault, and CyberArk Vault - https://docs.dynatrace.com/docs/shortlink/external-vault-integration
Export Example Usage
terraform-provider-dynatrace -export dynatrace.Credentialsdownloads all existing credentials
The full documentation of the export feature is available here.
Resource Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const usernamePasswordCredentials = new dynatrace.Credentials("username_password_credentials", {
name: "#name#",
username: "username",
password: "password",
ownerAccessOnly: true,
scopes: ["SYNTHETIC"],
});
import pulumi
import pulumiverse_dynatrace as dynatrace
username_password_credentials = dynatrace.Credentials("username_password_credentials",
name="#name#",
username="username",
password="password",
owner_access_only=True,
scopes=["SYNTHETIC"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynatrace.NewCredentials(ctx, "username_password_credentials", &dynatrace.CredentialsArgs{
Name: pulumi.String("#name#"),
Username: pulumi.String("username"),
Password: pulumi.String("password"),
OwnerAccessOnly: pulumi.Bool(true),
Scopes: pulumi.StringArray{
pulumi.String("SYNTHETIC"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var usernamePasswordCredentials = new Dynatrace.Credentials("username_password_credentials", new()
{
Name = "#name#",
Username = "username",
Password = "password",
OwnerAccessOnly = true,
Scopes = new[]
{
"SYNTHETIC",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.Credentials;
import com.pulumi.dynatrace.CredentialsArgs;
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 usernamePasswordCredentials = new Credentials("usernamePasswordCredentials", CredentialsArgs.builder()
.name("#name#")
.username("username")
.password("password")
.ownerAccessOnly(true)
.scopes("SYNTHETIC")
.build());
}
}
resources:
usernamePasswordCredentials:
type: dynatrace:Credentials
name: username_password_credentials
properties:
name: '#name#'
username: username
password: password
ownerAccessOnly: true
scopes:
- SYNTHETIC
pulumi {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
resource "dynatrace_credentials" "username_password_credentials" {
name = "#name#"
username = "username"
password = "password"
owner_access_only = true
scopes = ["SYNTHETIC"]
}
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
import * as std from "@pulumi/std";
const rootCertificate = new dynatrace.Credentials("root_certificate", {
name: "Root Certificate",
description: "Root certificate for validating Extension 2.0 signatures",
certificate: std.file({
input: "certificate.pem",
}).then(invoke => std.base64encode({
input: invoke.result,
})).then(invoke => invoke.result),
format: "PEM",
"public": true,
});
import pulumi
import pulumi_std as std
import pulumiverse_dynatrace as dynatrace
root_certificate = dynatrace.Credentials("root_certificate",
name="Root Certificate",
description="Root certificate for validating Extension 2.0 signatures",
certificate=std.base64encode(input=std.file(input="certificate.pem").result).result,
format="PEM",
public=True)
package main
import (
"github.com/pulumi/pulumi-std/sdk/v2/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
invokeBase64encode, err := std.Base64encode(ctx, &std.Base64encodeArgs{
Input: std.File(ctx, &std.FileArgs{
Input: "certificate.pem",
}, nil).Result,
}, nil)
if err != nil {
return err
}
_, err = dynatrace.NewCredentials(ctx, "root_certificate", &dynatrace.CredentialsArgs{
Name: pulumi.String("Root Certificate"),
Description: pulumi.String("Root certificate for validating Extension 2.0 signatures"),
Certificate: pulumi.String(invokeBase64encode.Result),
Format: pulumi.String("PEM"),
Public: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var rootCertificate = new Dynatrace.Credentials("root_certificate", new()
{
Name = "Root Certificate",
Description = "Root certificate for validating Extension 2.0 signatures",
Certificate = Std.File.Invoke(new()
{
Input = "certificate.pem",
}).Apply(invoke => Std.Base64encode.Invoke(new()
{
Input = invoke.Result,
})).Apply(invoke => invoke.Result),
Format = "PEM",
Public = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.Credentials;
import com.pulumi.dynatrace.CredentialsArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.FileArgs;
import com.pulumi.std.inputs.Base64encodeArgs;
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 rootCertificate = new Credentials("rootCertificate", CredentialsArgs.builder()
.name("Root Certificate")
.description("Root certificate for validating Extension 2.0 signatures")
.certificate(StdFunctions.base64encode(Base64encodeArgs.builder()
.input(StdFunctions.file(FileArgs.builder()
.input("certificate.pem")
.build()).result())
.build()).result())
.format("PEM")
.public_(true)
.build());
}
}
resources:
rootCertificate:
type: dynatrace:Credentials
name: root_certificate
properties:
name: Root Certificate
description: Root certificate for validating Extension 2.0 signatures
certificate:
fn::invoke:
function: std:base64encode
arguments:
input:
fn::invoke:
function: std:file
arguments:
input: certificate.pem
return: result
return: result
format: PEM
public: true
pulumi {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
std = {
source = "pulumi/std"
}
}
}
resource "dynatrace_credentials" "root_certificate" {
name = "Root Certificate"
description = "Root certificate for validating Extension 2.0 signatures"
certificate = base64encode(file("certificate.pem"))
format = "PEM"
public = true
}
CyberArk Vault with username and password
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const config = new pulumi.Config();
const credentialsUsername = config.requireObject<any>("credentialsUsername");
const credentialsPassword = config.requireObject<any>("credentialsPassword");
const usernamePasswordCredentials = new dynatrace.Credentials("username_password_credentials", {
name: "#name#",
username: credentialsUsername,
password: credentialsPassword,
ownerAccessOnly: true,
scopes: ["SYNTHETIC"],
});
const cyberarkUsernamePassword = new dynatrace.Credentials("cyberark_username_password", {
name: "#name#",
ownerAccessOnly: true,
external: {
vaultUrl: "https://example.com",
applicationId: "my-application-id",
safeName: "my-safe-name",
folderName: "my-folder-name",
accountName: "my-account-name",
usernamePasswordForCpm: usernamePasswordCredentials.id,
},
scopes: ["SYNTHETIC"],
});
import pulumi
import pulumiverse_dynatrace as dynatrace
config = pulumi.Config()
credentials_username = config.require_object("credentialsUsername")
credentials_password = config.require_object("credentialsPassword")
username_password_credentials = dynatrace.Credentials("username_password_credentials",
name="#name#",
username=credentials_username,
password=credentials_password,
owner_access_only=True,
scopes=["SYNTHETIC"])
cyberark_username_password = dynatrace.Credentials("cyberark_username_password",
name="#name#",
owner_access_only=True,
external={
"vault_url": "https://example.com",
"application_id": "my-application-id",
"safe_name": "my-safe-name",
"folder_name": "my-folder-name",
"account_name": "my-account-name",
"username_password_for_cpm": username_password_credentials.id,
},
scopes=["SYNTHETIC"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
var credentialsUsername interface{}
cfg.RequireObject("credentialsUsername", &credentialsUsername)
var credentialsPassword interface{}
cfg.RequireObject("credentialsPassword", &credentialsPassword)
usernamePasswordCredentials, err := dynatrace.NewCredentials(ctx, "username_password_credentials", &dynatrace.CredentialsArgs{
Name: pulumi.String("#name#"),
Username: pulumi.Any(credentialsUsername),
Password: pulumi.Any(credentialsPassword),
OwnerAccessOnly: pulumi.Bool(true),
Scopes: pulumi.StringArray{
pulumi.String("SYNTHETIC"),
},
})
if err != nil {
return err
}
_, err = dynatrace.NewCredentials(ctx, "cyberark_username_password", &dynatrace.CredentialsArgs{
Name: pulumi.String("#name#"),
OwnerAccessOnly: pulumi.Bool(true),
External: &dynatrace.CredentialsExternalArgs{
VaultUrl: pulumi.String("https://example.com"),
ApplicationId: pulumi.String("my-application-id"),
SafeName: pulumi.String("my-safe-name"),
FolderName: pulumi.String("my-folder-name"),
AccountName: pulumi.String("my-account-name"),
UsernamePasswordForCpm: usernamePasswordCredentials.ID(),
},
Scopes: pulumi.StringArray{
pulumi.String("SYNTHETIC"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var credentialsUsername = config.RequireObject<dynamic>("credentialsUsername");
var credentialsPassword = config.RequireObject<dynamic>("credentialsPassword");
var usernamePasswordCredentials = new Dynatrace.Credentials("username_password_credentials", new()
{
Name = "#name#",
Username = credentialsUsername,
Password = credentialsPassword,
OwnerAccessOnly = true,
Scopes = new[]
{
"SYNTHETIC",
},
});
var cyberarkUsernamePassword = new Dynatrace.Credentials("cyberark_username_password", new()
{
Name = "#name#",
OwnerAccessOnly = true,
External = new Dynatrace.Inputs.CredentialsExternalArgs
{
VaultUrl = "https://example.com",
ApplicationId = "my-application-id",
SafeName = "my-safe-name",
FolderName = "my-folder-name",
AccountName = "my-account-name",
UsernamePasswordForCpm = usernamePasswordCredentials.Id,
},
Scopes = new[]
{
"SYNTHETIC",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.Credentials;
import com.pulumi.dynatrace.CredentialsArgs;
import com.pulumi.dynatrace.inputs.CredentialsExternalArgs;
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 credentialsUsername = config.require("credentialsUsername");
final var credentialsPassword = config.require("credentialsPassword");
var usernamePasswordCredentials = new Credentials("usernamePasswordCredentials", CredentialsArgs.builder()
.name("#name#")
.username(credentialsUsername)
.password(credentialsPassword)
.ownerAccessOnly(true)
.scopes("SYNTHETIC")
.build());
var cyberarkUsernamePassword = new Credentials("cyberarkUsernamePassword", CredentialsArgs.builder()
.name("#name#")
.ownerAccessOnly(true)
.external(CredentialsExternalArgs.builder()
.vaultUrl("https://example.com")
.applicationId("my-application-id")
.safeName("my-safe-name")
.folderName("my-folder-name")
.accountName("my-account-name")
.usernamePasswordForCpm(usernamePasswordCredentials.id())
.build())
.scopes("SYNTHETIC")
.build());
}
}
configuration:
credentialsUsername:
type: object
credentialsPassword:
type: object
resources:
usernamePasswordCredentials:
type: dynatrace:Credentials
name: username_password_credentials
properties:
name: '#name#'
username: ${credentialsUsername}
password: ${credentialsPassword}
ownerAccessOnly: true
scopes:
- SYNTHETIC
cyberarkUsernamePassword:
type: dynatrace:Credentials
name: cyberark_username_password
properties:
name: '#name#'
ownerAccessOnly: true
external:
vaultUrl: https://example.com
applicationId: my-application-id
safeName: my-safe-name
folderName: my-folder-name
accountName: my-account-name
usernamePasswordForCpm: ${usernamePasswordCredentials.id}
scopes:
- SYNTHETIC
pulumi {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
resource "dynatrace_credentials" "username_password_credentials" {
name = "#name#"
username = var.credentialsUsername
password = var.credentialsPassword
owner_access_only = true
scopes = ["SYNTHETIC"]
}
resource "dynatrace_credentials" "cyberark_username_password" {
name = "#name#"
owner_access_only = true
external = {
vault_url = "https://example.com"
application_id = "my-application-id"
safe_name = "my-safe-name"
folder_name = "my-folder-name"
account_name = "my-account-name"
username_password_for_cpm = dynatrace_credentials.username_password_credentials.id
}
scopes = ["SYNTHETIC"]
}
variable "credentialsUsername" {
}
variable "credentialsPassword" {
}
CyberArk Vault with allowed location
import * as pulumi from "@pulumi/pulumi";
import * as dynatrace from "@pulumiverse/dynatrace";
const config = new pulumi.Config();
const certificate = config.requireObject<any>("certificate");
const certificatePassword = config.requireObject<any>("certificatePassword");
const certificateCredentials = new dynatrace.Credentials("certificate_credentials", {
name: "#name#",
certificate: certificate,
format: "PKCS12",
ownerAccessOnly: true,
password: certificatePassword,
scopes: ["SYNTHETIC"],
});
const cyberarkAllowedLocation = new dynatrace.Credentials("cyberark_allowed_location", {
name: "#name#",
ownerAccessOnly: true,
external: {
vaultUrl: "https://example.com",
applicationId: "my-application-id",
safeName: "my-safe-name",
folderName: "my-folder-name",
accountName: "my-account-name",
certificate: certificateCredentials.id,
},
scopes: ["SYNTHETIC"],
});
import pulumi
import pulumiverse_dynatrace as dynatrace
config = pulumi.Config()
certificate = config.require_object("certificate")
certificate_password = config.require_object("certificatePassword")
certificate_credentials = dynatrace.Credentials("certificate_credentials",
name="#name#",
certificate=certificate,
format="PKCS12",
owner_access_only=True,
password=certificate_password,
scopes=["SYNTHETIC"])
cyberark_allowed_location = dynatrace.Credentials("cyberark_allowed_location",
name="#name#",
owner_access_only=True,
external={
"vault_url": "https://example.com",
"application_id": "my-application-id",
"safe_name": "my-safe-name",
"folder_name": "my-folder-name",
"account_name": "my-account-name",
"certificate": certificate_credentials.id,
},
scopes=["SYNTHETIC"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
var certificate interface{}
cfg.RequireObject("certificate", &certificate)
var certificatePassword interface{}
cfg.RequireObject("certificatePassword", &certificatePassword)
certificateCredentials, err := dynatrace.NewCredentials(ctx, "certificate_credentials", &dynatrace.CredentialsArgs{
Name: pulumi.String("#name#"),
Certificate: pulumi.Any(certificate),
Format: pulumi.String("PKCS12"),
OwnerAccessOnly: pulumi.Bool(true),
Password: pulumi.Any(certificatePassword),
Scopes: pulumi.StringArray{
pulumi.String("SYNTHETIC"),
},
})
if err != nil {
return err
}
_, err = dynatrace.NewCredentials(ctx, "cyberark_allowed_location", &dynatrace.CredentialsArgs{
Name: pulumi.String("#name#"),
OwnerAccessOnly: pulumi.Bool(true),
External: &dynatrace.CredentialsExternalArgs{
VaultUrl: pulumi.String("https://example.com"),
ApplicationId: pulumi.String("my-application-id"),
SafeName: pulumi.String("my-safe-name"),
FolderName: pulumi.String("my-folder-name"),
AccountName: pulumi.String("my-account-name"),
Certificate: certificateCredentials.ID(),
},
Scopes: pulumi.StringArray{
pulumi.String("SYNTHETIC"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dynatrace = Pulumiverse.Dynatrace;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var certificate = config.RequireObject<dynamic>("certificate");
var certificatePassword = config.RequireObject<dynamic>("certificatePassword");
var certificateCredentials = new Dynatrace.Credentials("certificate_credentials", new()
{
Name = "#name#",
Certificate = certificate,
Format = "PKCS12",
OwnerAccessOnly = true,
Password = certificatePassword,
Scopes = new[]
{
"SYNTHETIC",
},
});
var cyberarkAllowedLocation = new Dynatrace.Credentials("cyberark_allowed_location", new()
{
Name = "#name#",
OwnerAccessOnly = true,
External = new Dynatrace.Inputs.CredentialsExternalArgs
{
VaultUrl = "https://example.com",
ApplicationId = "my-application-id",
SafeName = "my-safe-name",
FolderName = "my-folder-name",
AccountName = "my-account-name",
Certificate = certificateCredentials.Id,
},
Scopes = new[]
{
"SYNTHETIC",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.Credentials;
import com.pulumi.dynatrace.CredentialsArgs;
import com.pulumi.dynatrace.inputs.CredentialsExternalArgs;
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 certificate = config.require("certificate");
final var certificatePassword = config.require("certificatePassword");
var certificateCredentials = new Credentials("certificateCredentials", CredentialsArgs.builder()
.name("#name#")
.certificate(certificate)
.format("PKCS12")
.ownerAccessOnly(true)
.password(certificatePassword)
.scopes("SYNTHETIC")
.build());
var cyberarkAllowedLocation = new Credentials("cyberarkAllowedLocation", CredentialsArgs.builder()
.name("#name#")
.ownerAccessOnly(true)
.external(CredentialsExternalArgs.builder()
.vaultUrl("https://example.com")
.applicationId("my-application-id")
.safeName("my-safe-name")
.folderName("my-folder-name")
.accountName("my-account-name")
.certificate(certificateCredentials.id())
.build())
.scopes("SYNTHETIC")
.build());
}
}
configuration:
# certificate encoded in base64
certificate:
type: object
certificatePassword:
type: object
resources:
certificateCredentials:
type: dynatrace:Credentials
name: certificate_credentials
properties:
name: '#name#'
certificate: ${certificate}
format: PKCS12
ownerAccessOnly: true
password: ${certificatePassword}
scopes:
- SYNTHETIC
cyberarkAllowedLocation:
type: dynatrace:Credentials
name: cyberark_allowed_location
properties:
name: '#name#'
ownerAccessOnly: true
external:
vaultUrl: https://example.com
applicationId: my-application-id
safeName: my-safe-name
folderName: my-folder-name
accountName: my-account-name
certificate: ${certificateCredentials.id}
scopes:
- SYNTHETIC
pulumi {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
resource "dynatrace_credentials" "certificate_credentials" {
name = "#name#"
certificate = var.certificate
format = "PKCS12"
owner_access_only = true
password = var.certificatePassword
scopes = ["SYNTHETIC"]
}
resource "dynatrace_credentials" "cyberark_allowed_location" {
name = "#name#"
owner_access_only = true
external = {
vault_url = "https://example.com"
application_id = "my-application-id"
safe_name = "my-safe-name"
folder_name = "my-folder-name"
account_name = "my-account-name"
certificate = dynatrace_credentials.certificate_credentials.id
}
scopes = ["SYNTHETIC"]
}
# certificate encoded in base64
variable "certificate" {
}
variable "certificatePassword" {
}
Create Credentials Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Credentials(name: string, args?: CredentialsArgs, opts?: CustomResourceOptions);@overload
def Credentials(resource_name: str,
args: Optional[CredentialsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Credentials(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_contextless_requests: Optional[bool] = None,
allowed_entities: Optional[CredentialsAllowedEntitiesArgs] = None,
certificate: Optional[str] = None,
credential_usage_summaries: Optional[Sequence[CredentialsCredentialUsageSummaryArgs]] = None,
description: Optional[str] = None,
external: Optional[CredentialsExternalArgs] = None,
format: Optional[str] = None,
name: Optional[str] = None,
owner_access_only: Optional[bool] = None,
password: Optional[str] = None,
public: Optional[bool] = None,
scope: Optional[str] = None,
scopes: Optional[Sequence[str]] = None,
token: Optional[str] = None,
username: Optional[str] = None)func NewCredentials(ctx *Context, name string, args *CredentialsArgs, opts ...ResourceOption) (*Credentials, error)public Credentials(string name, CredentialsArgs? args = null, CustomResourceOptions? opts = null)
public Credentials(String name, CredentialsArgs args)
public Credentials(String name, CredentialsArgs args, CustomResourceOptions options)
type: dynatrace:Credentials
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_credentials" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CredentialsArgs
- 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 CredentialsArgs
- 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 CredentialsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CredentialsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CredentialsArgs
- 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 credentialsResource = new Dynatrace.Credentials("credentialsResource", new()
{
AllowContextlessRequests = false,
AllowedEntities = new Dynatrace.Inputs.CredentialsAllowedEntitiesArgs
{
Entities = new[]
{
new Dynatrace.Inputs.CredentialsAllowedEntitiesEntityArgs
{
Id = "string",
Type = "string",
},
},
},
Certificate = "string",
Description = "string",
External = new Dynatrace.Inputs.CredentialsExternalArgs
{
AccountName = "string",
ApplicationId = "string",
Certificate = "string",
ClientSecret = "string",
Clientid = "string",
CredentialsUsedForExternalSynchronizations = new[]
{
"string",
},
FolderName = "string",
PasswordSecretName = "string",
PathToCredentials = "string",
Roleid = "string",
SafeName = "string",
Secretid = "string",
Tenantid = "string",
TokenSecretName = "string",
UsernamePasswordForCpm = "string",
UsernameSecretName = "string",
VaultNamespace = "string",
VaultUrl = "string",
},
Format = "string",
Name = "string",
OwnerAccessOnly = false,
Password = "string",
Public = false,
Scopes = new[]
{
"string",
},
Token = "string",
Username = "string",
});
example, err := dynatrace.NewCredentials(ctx, "credentialsResource", &dynatrace.CredentialsArgs{
AllowContextlessRequests: pulumi.Bool(false),
AllowedEntities: &dynatrace.CredentialsAllowedEntitiesArgs{
Entities: dynatrace.CredentialsAllowedEntitiesEntityArray{
&dynatrace.CredentialsAllowedEntitiesEntityArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
Certificate: pulumi.String("string"),
Description: pulumi.String("string"),
External: &dynatrace.CredentialsExternalArgs{
AccountName: pulumi.String("string"),
ApplicationId: pulumi.String("string"),
Certificate: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
Clientid: pulumi.String("string"),
CredentialsUsedForExternalSynchronizations: pulumi.StringArray{
pulumi.String("string"),
},
FolderName: pulumi.String("string"),
PasswordSecretName: pulumi.String("string"),
PathToCredentials: pulumi.String("string"),
Roleid: pulumi.String("string"),
SafeName: pulumi.String("string"),
Secretid: pulumi.String("string"),
Tenantid: pulumi.String("string"),
TokenSecretName: pulumi.String("string"),
UsernamePasswordForCpm: pulumi.String("string"),
UsernameSecretName: pulumi.String("string"),
VaultNamespace: pulumi.String("string"),
VaultUrl: pulumi.String("string"),
},
Format: pulumi.String("string"),
Name: pulumi.String("string"),
OwnerAccessOnly: pulumi.Bool(false),
Password: pulumi.String("string"),
Public: pulumi.Bool(false),
Scopes: pulumi.StringArray{
pulumi.String("string"),
},
Token: pulumi.String("string"),
Username: pulumi.String("string"),
})
resource "dynatrace_credentials" "credentialsResource" {
allow_contextless_requests = false
allowed_entities = {
entities = [{
"id" = "string"
"type" = "string"
}]
}
certificate = "string"
description = "string"
external = {
account_name = "string"
application_id = "string"
certificate = "string"
client_secret = "string"
clientid = "string"
credentials_used_for_external_synchronizations = ["string"]
folder_name = "string"
password_secret_name = "string"
path_to_credentials = "string"
roleid = "string"
safe_name = "string"
secretid = "string"
tenantid = "string"
token_secret_name = "string"
username_password_for_cpm = "string"
username_secret_name = "string"
vault_namespace = "string"
vault_url = "string"
}
format = "string"
name = "string"
owner_access_only = false
password = "string"
public = false
scopes = ["string"]
token = "string"
username = "string"
}
var credentialsResource = new Credentials("credentialsResource", CredentialsArgs.builder()
.allowContextlessRequests(false)
.allowedEntities(CredentialsAllowedEntitiesArgs.builder()
.entities(CredentialsAllowedEntitiesEntityArgs.builder()
.id("string")
.type("string")
.build())
.build())
.certificate("string")
.description("string")
.external(CredentialsExternalArgs.builder()
.accountName("string")
.applicationId("string")
.certificate("string")
.clientSecret("string")
.clientid("string")
.credentialsUsedForExternalSynchronizations("string")
.folderName("string")
.passwordSecretName("string")
.pathToCredentials("string")
.roleid("string")
.safeName("string")
.secretid("string")
.tenantid("string")
.tokenSecretName("string")
.usernamePasswordForCpm("string")
.usernameSecretName("string")
.vaultNamespace("string")
.vaultUrl("string")
.build())
.format("string")
.name("string")
.ownerAccessOnly(false)
.password("string")
.public_(false)
.scopes("string")
.token("string")
.username("string")
.build());
credentials_resource = dynatrace.Credentials("credentialsResource",
allow_contextless_requests=False,
allowed_entities={
"entities": [{
"id": "string",
"type": "string",
}],
},
certificate="string",
description="string",
external={
"account_name": "string",
"application_id": "string",
"certificate": "string",
"client_secret": "string",
"clientid": "string",
"credentials_used_for_external_synchronizations": ["string"],
"folder_name": "string",
"password_secret_name": "string",
"path_to_credentials": "string",
"roleid": "string",
"safe_name": "string",
"secretid": "string",
"tenantid": "string",
"token_secret_name": "string",
"username_password_for_cpm": "string",
"username_secret_name": "string",
"vault_namespace": "string",
"vault_url": "string",
},
format="string",
name="string",
owner_access_only=False,
password="string",
public=False,
scopes=["string"],
token="string",
username="string")
const credentialsResource = new dynatrace.Credentials("credentialsResource", {
allowContextlessRequests: false,
allowedEntities: {
entities: [{
id: "string",
type: "string",
}],
},
certificate: "string",
description: "string",
external: {
accountName: "string",
applicationId: "string",
certificate: "string",
clientSecret: "string",
clientid: "string",
credentialsUsedForExternalSynchronizations: ["string"],
folderName: "string",
passwordSecretName: "string",
pathToCredentials: "string",
roleid: "string",
safeName: "string",
secretid: "string",
tenantid: "string",
tokenSecretName: "string",
usernamePasswordForCpm: "string",
usernameSecretName: "string",
vaultNamespace: "string",
vaultUrl: "string",
},
format: "string",
name: "string",
ownerAccessOnly: false,
password: "string",
"public": false,
scopes: ["string"],
token: "string",
username: "string",
});
type: dynatrace:Credentials
properties:
allowContextlessRequests: false
allowedEntities:
entities:
- id: string
type: string
certificate: string
description: string
external:
accountName: string
applicationId: string
certificate: string
clientSecret: string
clientid: string
credentialsUsedForExternalSynchronizations:
- string
folderName: string
passwordSecretName: string
pathToCredentials: string
roleid: string
safeName: string
secretid: string
tenantid: string
tokenSecretName: string
usernamePasswordForCpm: string
usernameSecretName: string
vaultNamespace: string
vaultUrl: string
format: string
name: string
ownerAccessOnly: false
password: string
public: false
scopes:
- string
token: string
username: string
Credentials 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 Credentials resource accepts the following input properties:
- Allow
Contextless boolRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- Allowed
Entities Pulumiverse.Dynatrace. Inputs. Credentials Allowed Entities - The set of entities allowed to use the credential.
- Certificate string
- The certificate in the string format.
- Credential
Usage List<Pulumiverse.Summaries Dynatrace. Inputs. Credentials Credential Usage Summary> - The list contains summary data related to the use of credentials
- Description string
- A short description of the credentials set
- External
Pulumiverse.
Dynatrace. Inputs. Credentials External - External Vault Configuration
- Format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - Name string
- The name of the credentials set
- Owner
Access boolOnly - The credentials set is available to every user (
false) or to owner only (true) - Password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - Public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - Scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - Scopes List<string>
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - Token string
- Token in the string format. Specifying a token implies
Token Authentication. - Username string
- The username of the credentials set.
- Allow
Contextless boolRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- Allowed
Entities CredentialsAllowed Entities Args - The set of entities allowed to use the credential.
- Certificate string
- The certificate in the string format.
- Credential
Usage []CredentialsSummaries Credential Usage Summary Args - The list contains summary data related to the use of credentials
- Description string
- A short description of the credentials set
- External
Credentials
External Args - External Vault Configuration
- Format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - Name string
- The name of the credentials set
- Owner
Access boolOnly - The credentials set is available to every user (
false) or to owner only (true) - Password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - Public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - Scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - Scopes []string
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - Token string
- Token in the string format. Specifying a token implies
Token Authentication. - Username string
- The username of the credentials set.
- allow_
contextless_ boolrequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed_
entities object - The set of entities allowed to use the credential.
- certificate string
- The certificate in the string format.
- credential_
usage_ list(object)summaries - The list contains summary data related to the use of credentials
- description string
- A short description of the credentials set
- external object
- External Vault Configuration
- format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name string
- The name of the credentials set
- owner_
access_ boolonly - The credentials set is available to every user (
false) or to owner only (true) - password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes list(string)
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token string
- Token in the string format. Specifying a token implies
Token Authentication. - username string
- The username of the credentials set.
- allow
Contextless BooleanRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed
Entities CredentialsAllowed Entities - The set of entities allowed to use the credential.
- certificate String
- The certificate in the string format.
- credential
Usage List<CredentialsSummaries Credential Usage Summary> - The list contains summary data related to the use of credentials
- description String
- A short description of the credentials set
- external
Credentials
External - External Vault Configuration
- format String
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name String
- The name of the credentials set
- owner
Access BooleanOnly - The credentials set is available to every user (
false) or to owner only (true) - password String
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public_ Boolean
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope String
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes List<String>
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token String
- Token in the string format. Specifying a token implies
Token Authentication. - username String
- The username of the credentials set.
- allow
Contextless booleanRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed
Entities CredentialsAllowed Entities - The set of entities allowed to use the credential.
- certificate string
- The certificate in the string format.
- credential
Usage CredentialsSummaries Credential Usage Summary[] - The list contains summary data related to the use of credentials
- description string
- A short description of the credentials set
- external
Credentials
External - External Vault Configuration
- format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name string
- The name of the credentials set
- owner
Access booleanOnly - The credentials set is available to every user (
false) or to owner only (true) - password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public boolean
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes string[]
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token string
- Token in the string format. Specifying a token implies
Token Authentication. - username string
- The username of the credentials set.
- allow_
contextless_ boolrequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed_
entities CredentialsAllowed Entities Args - The set of entities allowed to use the credential.
- certificate str
- The certificate in the string format.
- credential_
usage_ Sequence[Credentialssummaries Credential Usage Summary Args] - The list contains summary data related to the use of credentials
- description str
- A short description of the credentials set
- external
Credentials
External Args - External Vault Configuration
- format str
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name str
- The name of the credentials set
- owner_
access_ boolonly - The credentials set is available to every user (
false) or to owner only (true) - password str
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope str
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes Sequence[str]
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token str
- Token in the string format. Specifying a token implies
Token Authentication. - username str
- The username of the credentials set.
- allow
Contextless BooleanRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed
Entities Property Map - The set of entities allowed to use the credential.
- certificate String
- The certificate in the string format.
- credential
Usage List<Property Map>Summaries - The list contains summary data related to the use of credentials
- description String
- A short description of the credentials set
- external Property Map
- External Vault Configuration
- format String
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name String
- The name of the credentials set
- owner
Access BooleanOnly - The credentials set is available to every user (
false) or to owner only (true) - password String
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public Boolean
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope String
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes List<String>
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token String
- Token in the string format. Specifying a token implies
Token Authentication. - username String
- The username of the credentials set.
Outputs
All input properties are implicitly available as output properties. Additionally, the Credentials resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Credentials Resource
Get an existing Credentials 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?: CredentialsState, opts?: CustomResourceOptions): Credentials@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_contextless_requests: Optional[bool] = None,
allowed_entities: Optional[CredentialsAllowedEntitiesArgs] = None,
certificate: Optional[str] = None,
credential_usage_summaries: Optional[Sequence[CredentialsCredentialUsageSummaryArgs]] = None,
description: Optional[str] = None,
external: Optional[CredentialsExternalArgs] = None,
format: Optional[str] = None,
name: Optional[str] = None,
owner_access_only: Optional[bool] = None,
password: Optional[str] = None,
public: Optional[bool] = None,
scope: Optional[str] = None,
scopes: Optional[Sequence[str]] = None,
token: Optional[str] = None,
username: Optional[str] = None) -> Credentialsfunc GetCredentials(ctx *Context, name string, id IDInput, state *CredentialsState, opts ...ResourceOption) (*Credentials, error)public static Credentials Get(string name, Input<string> id, CredentialsState? state, CustomResourceOptions? opts = null)public static Credentials get(String name, Output<String> id, CredentialsState state, CustomResourceOptions options)resources: _: type: dynatrace:Credentials get: id: ${id}import {
to = dynatrace_credentials.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allow
Contextless boolRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- Allowed
Entities Pulumiverse.Dynatrace. Inputs. Credentials Allowed Entities - The set of entities allowed to use the credential.
- Certificate string
- The certificate in the string format.
- Credential
Usage List<Pulumiverse.Summaries Dynatrace. Inputs. Credentials Credential Usage Summary> - The list contains summary data related to the use of credentials
- Description string
- A short description of the credentials set
- External
Pulumiverse.
Dynatrace. Inputs. Credentials External - External Vault Configuration
- Format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - Name string
- The name of the credentials set
- Owner
Access boolOnly - The credentials set is available to every user (
false) or to owner only (true) - Password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - Public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - Scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - Scopes List<string>
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - Token string
- Token in the string format. Specifying a token implies
Token Authentication. - Username string
- The username of the credentials set.
- Allow
Contextless boolRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- Allowed
Entities CredentialsAllowed Entities Args - The set of entities allowed to use the credential.
- Certificate string
- The certificate in the string format.
- Credential
Usage []CredentialsSummaries Credential Usage Summary Args - The list contains summary data related to the use of credentials
- Description string
- A short description of the credentials set
- External
Credentials
External Args - External Vault Configuration
- Format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - Name string
- The name of the credentials set
- Owner
Access boolOnly - The credentials set is available to every user (
false) or to owner only (true) - Password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - Public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - Scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - Scopes []string
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - Token string
- Token in the string format. Specifying a token implies
Token Authentication. - Username string
- The username of the credentials set.
- allow_
contextless_ boolrequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed_
entities object - The set of entities allowed to use the credential.
- certificate string
- The certificate in the string format.
- credential_
usage_ list(object)summaries - The list contains summary data related to the use of credentials
- description string
- A short description of the credentials set
- external object
- External Vault Configuration
- format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name string
- The name of the credentials set
- owner_
access_ boolonly - The credentials set is available to every user (
false) or to owner only (true) - password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes list(string)
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token string
- Token in the string format. Specifying a token implies
Token Authentication. - username string
- The username of the credentials set.
- allow
Contextless BooleanRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed
Entities CredentialsAllowed Entities - The set of entities allowed to use the credential.
- certificate String
- The certificate in the string format.
- credential
Usage List<CredentialsSummaries Credential Usage Summary> - The list contains summary data related to the use of credentials
- description String
- A short description of the credentials set
- external
Credentials
External - External Vault Configuration
- format String
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name String
- The name of the credentials set
- owner
Access BooleanOnly - The credentials set is available to every user (
false) or to owner only (true) - password String
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public_ Boolean
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope String
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes List<String>
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token String
- Token in the string format. Specifying a token implies
Token Authentication. - username String
- The username of the credentials set.
- allow
Contextless booleanRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed
Entities CredentialsAllowed Entities - The set of entities allowed to use the credential.
- certificate string
- The certificate in the string format.
- credential
Usage CredentialsSummaries Credential Usage Summary[] - The list contains summary data related to the use of credentials
- description string
- A short description of the credentials set
- external
Credentials
External - External Vault Configuration
- format string
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name string
- The name of the credentials set
- owner
Access booleanOnly - The credentials set is available to every user (
false) or to owner only (true) - password string
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public boolean
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope string
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes string[]
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token string
- Token in the string format. Specifying a token implies
Token Authentication. - username string
- The username of the credentials set.
- allow_
contextless_ boolrequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed_
entities CredentialsAllowed Entities Args - The set of entities allowed to use the credential.
- certificate str
- The certificate in the string format.
- credential_
usage_ Sequence[Credentialssummaries Credential Usage Summary Args] - The list contains summary data related to the use of credentials
- description str
- A short description of the credentials set
- external
Credentials
External Args - External Vault Configuration
- format str
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name str
- The name of the credentials set
- owner_
access_ boolonly - The credentials set is available to every user (
false) or to owner only (true) - password str
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public bool
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope str
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes Sequence[str]
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token str
- Token in the string format. Specifying a token implies
Token Authentication. - username str
- The username of the credentials set.
- allow
Contextless BooleanRequests - Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope).
- allowed
Entities Property Map - The set of entities allowed to use the credential.
- certificate String
- The certificate in the string format.
- credential
Usage List<Property Map>Summaries - The list contains summary data related to the use of credentials
- description String
- A short description of the credentials set
- external Property Map
- External Vault Configuration
- format String
- The certificate format. Possible values are
PEM,PKCS12andUNKNOWN. - name String
- The name of the credentials set
- owner
Access BooleanOnly - The credentials set is available to every user (
false) or to owner only (true) - password String
- The password of the credential. Note: Terraform treats an empty string for a value as if the attribute was absent. If you want to set an empty password, use the value
--empty--. - public Boolean
- For certificate authentication specifies whether it's public certificate auth (
true) or not (false). - scope String
- The scope of the credentials set. Possible values are
ALL,APP_ENGINE,EXTENSIONandSYNTHETIC - scopes List<String>
- The set of scopes of the credentials set. Possible values are
APP_ENGINEandSYNTHETIC - token String
- Token in the string format. Specifying a token implies
Token Authentication. - username String
- The username of the credentials set.
Supporting Types
CredentialsAllowedEntities, CredentialsAllowedEntitiesArgs
- Entities
List<Pulumiverse.
Dynatrace. Inputs. Credentials Allowed Entities Entity> - The set of entities allowed to use the credential.
- Entities
[]Credentials
Allowed Entities Entity - The set of entities allowed to use the credential.
- entities list(object)
- The set of entities allowed to use the credential.
- entities
List<Credentials
Allowed Entities Entity> - The set of entities allowed to use the credential.
- entities
Credentials
Allowed Entities Entity[] - The set of entities allowed to use the credential.
- entities
Sequence[Credentials
Allowed Entities Entity] - The set of entities allowed to use the credential.
- entities List<Property Map>
- The set of entities allowed to use the credential.
CredentialsAllowedEntitiesEntity, CredentialsAllowedEntitiesEntityArgs
CredentialsCredentialUsageSummary, CredentialsCredentialUsageSummaryArgs
CredentialsExternal, CredentialsExternalArgs
- Account
Name string - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- Application
Id string - The application ID defined in CyberArk Vault
- Certificate string
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- Client
Secret string - Required for Azure Client Secret. No further documentation available
- Clientid string
- Required for Azure Client Secret. No further documentation available
- Credentials
Used List<string>For External Synchronizations - No documentation available
- Folder
Name string - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - Password
Secret stringName - No documentation available
- Path
To stringCredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- Roleid string
- Required for Hashicorp App Role. No further documentation available
- Safe
Name string - Safe name connected to CyberArk Vault
- Secretid string
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- Tenantid string
- Required for Azure Client Secret. No further documentation available
- Token
Secret stringName - No documentation available
- Username
Password stringFor Cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- Username
Secret stringName - No documentation available
- Vault
Namespace string - Required for Hashicorp App Role. No further documentation available
- Vault
Url string - No documentation available
- Account
Name string - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- Application
Id string - The application ID defined in CyberArk Vault
- Certificate string
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- Client
Secret string - Required for Azure Client Secret. No further documentation available
- Clientid string
- Required for Azure Client Secret. No further documentation available
- Credentials
Used []stringFor External Synchronizations - No documentation available
- Folder
Name string - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - Password
Secret stringName - No documentation available
- Path
To stringCredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- Roleid string
- Required for Hashicorp App Role. No further documentation available
- Safe
Name string - Safe name connected to CyberArk Vault
- Secretid string
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- Tenantid string
- Required for Azure Client Secret. No further documentation available
- Token
Secret stringName - No documentation available
- Username
Password stringFor Cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- Username
Secret stringName - No documentation available
- Vault
Namespace string - Required for Hashicorp App Role. No further documentation available
- Vault
Url string - No documentation available
- account_
name string - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- application_
id string - The application ID defined in CyberArk Vault
- certificate string
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- client_
secret string - Required for Azure Client Secret. No further documentation available
- clientid string
- Required for Azure Client Secret. No further documentation available
- credentials_
used_ list(string)for_ external_ synchronizations - No documentation available
- folder_
name string - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - password_
secret_ stringname - No documentation available
- path_
to_ stringcredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- roleid string
- Required for Hashicorp App Role. No further documentation available
- safe_
name string - Safe name connected to CyberArk Vault
- secretid string
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- tenantid string
- Required for Azure Client Secret. No further documentation available
- token_
secret_ stringname - No documentation available
- username_
password_ stringfor_ cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- username_
secret_ stringname - No documentation available
- vault_
namespace string - Required for Hashicorp App Role. No further documentation available
- vault_
url string - No documentation available
- account
Name String - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- application
Id String - The application ID defined in CyberArk Vault
- certificate String
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- client
Secret String - Required for Azure Client Secret. No further documentation available
- clientid String
- Required for Azure Client Secret. No further documentation available
- credentials
Used List<String>For External Synchronizations - No documentation available
- folder
Name String - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - password
Secret StringName - No documentation available
- path
To StringCredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- roleid String
- Required for Hashicorp App Role. No further documentation available
- safe
Name String - Safe name connected to CyberArk Vault
- secretid String
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- tenantid String
- Required for Azure Client Secret. No further documentation available
- token
Secret StringName - No documentation available
- username
Password StringFor Cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- username
Secret StringName - No documentation available
- vault
Namespace String - Required for Hashicorp App Role. No further documentation available
- vault
Url String - No documentation available
- account
Name string - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- application
Id string - The application ID defined in CyberArk Vault
- certificate string
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- client
Secret string - Required for Azure Client Secret. No further documentation available
- clientid string
- Required for Azure Client Secret. No further documentation available
- credentials
Used string[]For External Synchronizations - No documentation available
- folder
Name string - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - password
Secret stringName - No documentation available
- path
To stringCredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- roleid string
- Required for Hashicorp App Role. No further documentation available
- safe
Name string - Safe name connected to CyberArk Vault
- secretid string
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- tenantid string
- Required for Azure Client Secret. No further documentation available
- token
Secret stringName - No documentation available
- username
Password stringFor Cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- username
Secret stringName - No documentation available
- vault
Namespace string - Required for Hashicorp App Role. No further documentation available
- vault
Url string - No documentation available
- account_
name str - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- application_
id str - The application ID defined in CyberArk Vault
- certificate str
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- client_
secret str - Required for Azure Client Secret. No further documentation available
- clientid str
- Required for Azure Client Secret. No further documentation available
- credentials_
used_ Sequence[str]for_ external_ synchronizations - No documentation available
- folder_
name str - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - password_
secret_ strname - No documentation available
- path_
to_ strcredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- roleid str
- Required for Hashicorp App Role. No further documentation available
- safe_
name str - Safe name connected to CyberArk Vault
- secretid str
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- tenantid str
- Required for Azure Client Secret. No further documentation available
- token_
secret_ strname - No documentation available
- username_
password_ strfor_ cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- username_
secret_ strname - No documentation available
- vault_
namespace str - Required for Hashicorp App Role. No further documentation available
- vault_
url str - No documentation available
- account
Name String - The name of the object that stores the username and password to retrieve and synchronize with the Dynatrace credential vault; this is not the name of the account logged into CyberArk Central Credential Provider.
- application
Id String - The application ID defined in CyberArk Vault
- certificate String
- Required for Hashicorp Certificate, CyberArk username and password authentication, and CyberArk host-based authentication. The ID of Credentials within the Credentials Vault holding the certificate.
- client
Secret String - Required for Azure Client Secret. No further documentation available
- clientid String
- Required for Azure Client Secret. No further documentation available
- credentials
Used List<String>For External Synchronizations - No documentation available
- folder
Name String - The name of the folder where the credentials are stored in CyberArk Vault; the default folder name is
Root. - password
Secret StringName - No documentation available
- path
To StringCredentials - Required for Hashicorp App Role or Hashicorp Certificate. No further documentation available
- roleid String
- Required for Hashicorp App Role. No further documentation available
- safe
Name String - Safe name connected to CyberArk Vault
- secretid String
- Required for Hashicorp App Role. The ID of Credentials within the Certificate Vault holding the secret id
- tenantid String
- Required for Azure Client Secret. No further documentation available
- token
Secret StringName - No documentation available
- username
Password StringFor Cpm - Dynatrace credential ID of the username-password pair used for authentication to the CyberArk Central Credential Provider
- username
Secret StringName - No documentation available
- vault
Namespace String - Required for Hashicorp App Role. No further documentation available
- vault
Url String - No documentation available
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumiverse