Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
This data source provides details about a specific Database Tools Connection Credential Execute Grantee resource in Oracle Cloud Infrastructure Database Tools Runtime service.
Get a credential execute grantee
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsConnectionCredentialExecuteGrantee = oci.databasetools.getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee({
credentialKey: databaseToolsConnectionCredentialExecuteGranteeCredentialKey,
databaseToolsConnectionId: testDatabaseToolsConnection.id,
executeGranteeKey: databaseToolsConnectionCredentialExecuteGranteeExecuteGranteeKey,
});
import pulumi
import pulumi_oci as oci
test_database_tools_connection_credential_execute_grantee = oci.databasetools.get_runtime_database_tools_connection_credential_execute_grantee(credential_key=database_tools_connection_credential_execute_grantee_credential_key,
database_tools_connection_id=test_database_tools_connection["id"],
execute_grantee_key=database_tools_connection_credential_execute_grantee_execute_grantee_key)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasetools"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasetools.GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantee(ctx, &databasetools.GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs{
CredentialKey: databaseToolsConnectionCredentialExecuteGranteeCredentialKey,
DatabaseToolsConnectionId: testDatabaseToolsConnection.Id,
ExecuteGranteeKey: databaseToolsConnectionCredentialExecuteGranteeExecuteGranteeKey,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDatabaseToolsConnectionCredentialExecuteGrantee = Oci.DatabaseTools.GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantee.Invoke(new()
{
CredentialKey = databaseToolsConnectionCredentialExecuteGranteeCredentialKey,
DatabaseToolsConnectionId = testDatabaseToolsConnection.Id,
ExecuteGranteeKey = databaseToolsConnectionCredentialExecuteGranteeExecuteGranteeKey,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseTools.DatabaseToolsFunctions;
import com.pulumi.oci.DatabaseTools.inputs.GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs;
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 testDatabaseToolsConnectionCredentialExecuteGrantee = DatabaseToolsFunctions.getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs.builder()
.credentialKey(databaseToolsConnectionCredentialExecuteGranteeCredentialKey)
.databaseToolsConnectionId(testDatabaseToolsConnection.id())
.executeGranteeKey(databaseToolsConnectionCredentialExecuteGranteeExecuteGranteeKey)
.build());
}
}
variables:
testDatabaseToolsConnectionCredentialExecuteGrantee:
fn::invoke:
function: oci:DatabaseTools:getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee
arguments:
credentialKey: ${databaseToolsConnectionCredentialExecuteGranteeCredentialKey}
databaseToolsConnectionId: ${testDatabaseToolsConnection.id}
executeGranteeKey: ${databaseToolsConnectionCredentialExecuteGranteeExecuteGranteeKey}
Example coming soon!
Using getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee
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 getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee(args: GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs, opts?: InvokeOptions): Promise<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult>
function getRuntimeDatabaseToolsConnectionCredentialExecuteGranteeOutput(args: GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeOutputArgs, opts?: InvokeOptions): Output<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult>def get_runtime_database_tools_connection_credential_execute_grantee(credential_key: Optional[str] = None,
database_tools_connection_id: Optional[str] = None,
execute_grantee_key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult
def get_runtime_database_tools_connection_credential_execute_grantee_output(credential_key: pulumi.Input[Optional[str]] = None,
database_tools_connection_id: pulumi.Input[Optional[str]] = None,
execute_grantee_key: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult]func LookupRuntimeDatabaseToolsConnectionCredentialExecuteGrantee(ctx *Context, args *LookupRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs, opts ...InvokeOption) (*LookupRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult, error)
func LookupRuntimeDatabaseToolsConnectionCredentialExecuteGranteeOutput(ctx *Context, args *LookupRuntimeDatabaseToolsConnectionCredentialExecuteGranteeOutputArgs, opts ...InvokeOption) LookupRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResultOutput> Note: This function is named LookupRuntimeDatabaseToolsConnectionCredentialExecuteGrantee in the Go SDK.
public static class GetRuntimeDatabaseToolsConnectionCredentialExecuteGrantee
{
public static Task<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult> InvokeAsync(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs args, InvokeOptions? opts = null)
public static Output<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult> Invoke(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult> getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs args, InvokeOptions options)
public static Output<GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeResult> getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee(GetRuntimeDatabaseToolsConnectionCredentialExecuteGranteeArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseTools/getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee:getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee
arguments:
# arguments dictionarydata "oci_databasetools_getruntimedatabasetoolsconnectioncredentialexecutegrantee" "name" {
# arguments
}The following arguments are supported:
- Credential
Key string - The name of the credential
- Database
Tools stringConnection Id - The OCID of a Database Tools connection.
- Execute
Grantee stringKey - The name of the user granted the EXECUTE privilege on the credential.
- Credential
Key string - The name of the credential
- Database
Tools stringConnection Id - The OCID of a Database Tools connection.
- Execute
Grantee stringKey - The name of the user granted the EXECUTE privilege on the credential.
- credential_
key string - The name of the credential
- database_
tools_ stringconnection_ id - The OCID of a Database Tools connection.
- execute_
grantee_ stringkey - The name of the user granted the EXECUTE privilege on the credential.
- credential
Key String - The name of the credential
- database
Tools StringConnection Id - The OCID of a Database Tools connection.
- execute
Grantee StringKey - The name of the user granted the EXECUTE privilege on the credential.
- credential
Key string - The name of the credential
- database
Tools stringConnection Id - The OCID of a Database Tools connection.
- execute
Grantee stringKey - The name of the user granted the EXECUTE privilege on the credential.
- credential_
key str - The name of the credential
- database_
tools_ strconnection_ id - The OCID of a Database Tools connection.
- execute_
grantee_ strkey - The name of the user granted the EXECUTE privilege on the credential.
- credential
Key String - The name of the credential
- database
Tools StringConnection Id - The OCID of a Database Tools connection.
- execute
Grantee StringKey - The name of the user granted the EXECUTE privilege on the credential.
getRuntimeDatabaseToolsConnectionCredentialExecuteGrantee Result
The following output properties are available:
- Credential
Key string - Database
Tools stringConnection Id - Execute
Grantee stringKey - Id string
- Key string
- The name of the user to grant the EXECUTE privilege on the credential.
- Credential
Key string - Database
Tools stringConnection Id - Execute
Grantee stringKey - Id string
- Key string
- The name of the user to grant the EXECUTE privilege on the credential.
- credential_
key string - database_
tools_ stringconnection_ id - execute_
grantee_ stringkey - id string
- key string
- The name of the user to grant the EXECUTE privilege on the credential.
- credential
Key String - database
Tools StringConnection Id - execute
Grantee StringKey - id String
- key String
- The name of the user to grant the EXECUTE privilege on the credential.
- credential
Key string - database
Tools stringConnection Id - execute
Grantee stringKey - id string
- key string
- The name of the user to grant the EXECUTE privilege on the credential.
- credential_
key str - database_
tools_ strconnection_ id - execute_
grantee_ strkey - id str
- key str
- The name of the user to grant the EXECUTE privilege on the credential.
- credential
Key String - database
Tools StringConnection Id - execute
Grantee StringKey - id String
- key String
- The name of the user to grant the EXECUTE privilege on the credential.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.11.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
