Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse
The dynatrace.Credentials data source queries for Credentials stored within the Credentials Vault using the properties name, scope and type. At least one of name, scope or type needs to be specified as a non empty value. Combinations of the three properties are also possible.
Using getCredentials
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCredentials(args: GetCredentialsArgs, opts?: InvokeOptions): Promise<GetCredentialsResult>
function getCredentialsOutput(args: GetCredentialsOutputArgs, opts?: InvokeOptions): Output<GetCredentialsResult>def get_credentials(name: Optional[str] = None,
scope: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCredentialsResult
def get_credentials_output(name: pulumi.Input[Optional[str]] = None,
scope: pulumi.Input[Optional[str]] = None,
type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCredentialsResult]func LookupCredentials(ctx *Context, args *LookupCredentialsArgs, opts ...InvokeOption) (*LookupCredentialsResult, error)
func LookupCredentialsOutput(ctx *Context, args *LookupCredentialsOutputArgs, opts ...InvokeOption) LookupCredentialsResultOutput> Note: This function is named LookupCredentials in the Go SDK.
public static class GetCredentials
{
public static Task<GetCredentialsResult> InvokeAsync(GetCredentialsArgs args, InvokeOptions? opts = null)
public static Output<GetCredentialsResult> Invoke(GetCredentialsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
public static Output<GetCredentialsResult> getCredentials(GetCredentialsArgs args, InvokeOptions options)
fn::invoke:
function: dynatrace:index/getCredentials:getCredentials
arguments:
# arguments dictionarydata "dynatrace_getcredentials" "name" {
# arguments
}The following arguments are supported:
- Name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- Scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - Type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- Name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- Scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - Type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- name String
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope String
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type String
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- name str
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope str
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type str
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- name String
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope String
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type String
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
getCredentials Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- Scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - Type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- Scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - Type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope String
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type String
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope string
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type string
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope str
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type str
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the credential as shown within the Dynatrace WebUI. If not specified all names will match
- scope String
- The scope of the credential. Possible values are
ALL,EXTENSIONandSYNTHETIC. If not specified all scopes will match. - type String
- The type of the credential. Possible values are
CERTIFICATE,PUBLIC_CERTIFICATE,TOKEN,USERNAME_PASSWORDandUNKNOWN. If not specified all credential types will match
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
published on Tuesday, Jun 9, 2026 by Pulumiverse