Databricks v1.38.0 published on Monday, Apr 29, 2024 by Pulumi
databricks.getStorageCredential
Explore with Pulumi AI
Example Usage
Getting details of an existing storage credential in the metastore
Using getStorageCredential
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 getStorageCredential(args: GetStorageCredentialArgs, opts?: InvokeOptions): Promise<GetStorageCredentialResult>
function getStorageCredentialOutput(args: GetStorageCredentialOutputArgs, opts?: InvokeOptions): Output<GetStorageCredentialResult>
def get_storage_credential(name: Optional[str] = None,
storage_credential_info: Optional[GetStorageCredentialStorageCredentialInfo] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageCredentialResult
def get_storage_credential_output(name: Optional[pulumi.Input[str]] = None,
storage_credential_info: Optional[pulumi.Input[GetStorageCredentialStorageCredentialInfoArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageCredentialResult]
func LookupStorageCredential(ctx *Context, args *LookupStorageCredentialArgs, opts ...InvokeOption) (*LookupStorageCredentialResult, error)
func LookupStorageCredentialOutput(ctx *Context, args *LookupStorageCredentialOutputArgs, opts ...InvokeOption) LookupStorageCredentialResultOutput
> Note: This function is named LookupStorageCredential
in the Go SDK.
public static class GetStorageCredential
{
public static Task<GetStorageCredentialResult> InvokeAsync(GetStorageCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetStorageCredentialResult> Invoke(GetStorageCredentialInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStorageCredentialResult> getStorageCredential(GetStorageCredentialArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: databricks:index/getStorageCredential:getStorageCredential
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the storage credential
- Storage
Credential GetInfo Storage Credential Storage Credential Info
- Name string
- The name of the storage credential
- Storage
Credential GetInfo Storage Credential Storage Credential Info
- name String
- The name of the storage credential
- storage
Credential GetInfo Storage Credential Storage Credential Info
- name string
- The name of the storage credential
- storage
Credential GetInfo Storage Credential Storage Credential Info
- name str
- The name of the storage credential
- storage_
credential_ Getinfo Storage Credential Storage Credential Info
- name String
- The name of the storage credential
- storage
Credential Property MapInfo
getStorageCredential Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Storage
Credential GetInfo Storage Credential Storage Credential Info
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Storage
Credential GetInfo Storage Credential Storage Credential Info
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- storage
Credential GetInfo Storage Credential Storage Credential Info
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- storage
Credential GetInfo Storage Credential Storage Credential Info
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- storage_
credential_ Getinfo Storage Credential Storage Credential Info
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- storage
Credential Property MapInfo
Supporting Types
GetStorageCredentialStorageCredentialInfo
- Aws
Iam GetRole Storage Credential Storage Credential Info Aws Iam Role - Azure
Managed GetIdentity Storage Credential Storage Credential Info Azure Managed Identity - Azure
Service GetPrincipal Storage Credential Storage Credential Info Azure Service Principal - Cloudflare
Api GetToken Storage Credential Storage Credential Info Cloudflare Api Token - Comment string
- Created
At int - Created
By string - Databricks
Gcp GetService Account Storage Credential Storage Credential Info Databricks Gcp Service Account - Id string
- Metastore
Id string - Unique identifier of the parent Metastore.
- Name string
- The name of the storage credential
- Owner string
- Username/groupname/sp application_id of the storage credential owner.
- Read
Only bool - Indicates whether the storage credential is only usable for read operations.
- Updated
At int - Updated
By string - Used
For boolManaged Storage
- Aws
Iam GetRole Storage Credential Storage Credential Info Aws Iam Role - Azure
Managed GetIdentity Storage Credential Storage Credential Info Azure Managed Identity - Azure
Service GetPrincipal Storage Credential Storage Credential Info Azure Service Principal - Cloudflare
Api GetToken Storage Credential Storage Credential Info Cloudflare Api Token - Comment string
- Created
At int - Created
By string - Databricks
Gcp GetService Account Storage Credential Storage Credential Info Databricks Gcp Service Account - Id string
- Metastore
Id string - Unique identifier of the parent Metastore.
- Name string
- The name of the storage credential
- Owner string
- Username/groupname/sp application_id of the storage credential owner.
- Read
Only bool - Indicates whether the storage credential is only usable for read operations.
- Updated
At int - Updated
By string - Used
For boolManaged Storage
- aws
Iam GetRole Storage Credential Storage Credential Info Aws Iam Role - azure
Managed GetIdentity Storage Credential Storage Credential Info Azure Managed Identity - azure
Service GetPrincipal Storage Credential Storage Credential Info Azure Service Principal - cloudflare
Api GetToken Storage Credential Storage Credential Info Cloudflare Api Token - comment String
- created
At Integer - created
By String - databricks
Gcp GetService Account Storage Credential Storage Credential Info Databricks Gcp Service Account - id String
- metastore
Id String - Unique identifier of the parent Metastore.
- name String
- The name of the storage credential
- owner String
- Username/groupname/sp application_id of the storage credential owner.
- read
Only Boolean - Indicates whether the storage credential is only usable for read operations.
- updated
At Integer - updated
By String - used
For BooleanManaged Storage
- aws
Iam GetRole Storage Credential Storage Credential Info Aws Iam Role - azure
Managed GetIdentity Storage Credential Storage Credential Info Azure Managed Identity - azure
Service GetPrincipal Storage Credential Storage Credential Info Azure Service Principal - cloudflare
Api GetToken Storage Credential Storage Credential Info Cloudflare Api Token - comment string
- created
At number - created
By string - databricks
Gcp GetService Account Storage Credential Storage Credential Info Databricks Gcp Service Account - id string
- metastore
Id string - Unique identifier of the parent Metastore.
- name string
- The name of the storage credential
- owner string
- Username/groupname/sp application_id of the storage credential owner.
- read
Only boolean - Indicates whether the storage credential is only usable for read operations.
- updated
At number - updated
By string - used
For booleanManaged Storage
- aws_
iam_ Getrole Storage Credential Storage Credential Info Aws Iam Role - azure_
managed_ Getidentity Storage Credential Storage Credential Info Azure Managed Identity - azure_
service_ Getprincipal Storage Credential Storage Credential Info Azure Service Principal - cloudflare_
api_ Gettoken Storage Credential Storage Credential Info Cloudflare Api Token - comment str
- created_
at int - created_
by str - databricks_
gcp_ Getservice_ account Storage Credential Storage Credential Info Databricks Gcp Service Account - id str
- metastore_
id str - Unique identifier of the parent Metastore.
- name str
- The name of the storage credential
- owner str
- Username/groupname/sp application_id of the storage credential owner.
- read_
only bool - Indicates whether the storage credential is only usable for read operations.
- updated_
at int - updated_
by str - used_
for_ boolmanaged_ storage
- aws
Iam Property MapRole - azure
Managed Property MapIdentity - azure
Service Property MapPrincipal - cloudflare
Api Property MapToken - comment String
- created
At Number - created
By String - databricks
Gcp Property MapService Account - id String
- metastore
Id String - Unique identifier of the parent Metastore.
- name String
- The name of the storage credential
- owner String
- Username/groupname/sp application_id of the storage credential owner.
- read
Only Boolean - Indicates whether the storage credential is only usable for read operations.
- updated
At Number - updated
By String - used
For BooleanManaged Storage
GetStorageCredentialStorageCredentialInfoAwsIamRole
- Role
Arn string - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form
arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF
- External
Id string - (output only) - The external ID used in role assumption to prevent confused deputy problem.
- Unity
Catalog stringIam Arn - (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.
- Role
Arn string - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form
arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF
- External
Id string - (output only) - The external ID used in role assumption to prevent confused deputy problem.
- Unity
Catalog stringIam Arn - (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.
- role
Arn String - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form
arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF
- external
Id String - (output only) - The external ID used in role assumption to prevent confused deputy problem.
- unity
Catalog StringIam Arn - (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.
- role
Arn string - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form
arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF
- external
Id string - (output only) - The external ID used in role assumption to prevent confused deputy problem.
- unity
Catalog stringIam Arn - (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.
- role_
arn str - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form
arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF
- external_
id str - (output only) - The external ID used in role assumption to prevent confused deputy problem.
- unity_
catalog_ striam_ arn - (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.
- role
Arn String - The Amazon Resource Name (ARN) of the AWS IAM role for S3 data access, of the form
arn:aws:iam::1234567890:role/MyRole-AJJHDSKSDF
- external
Id String - (output only) - The external ID used in role assumption to prevent confused deputy problem.
- unity
Catalog StringIam Arn - (output only) - The Amazon Resource Name (ARN) of the AWS IAM user managed by Databricks. This is the identity that is going to assume the AWS IAM role.
GetStorageCredentialStorageCredentialInfoAzureManagedIdentity
- Access
Connector stringId - The Resource ID of the Azure Databricks Access Connector resource, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name
. - Credential
Id string - Managed
Identity stringId - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name
.
- Access
Connector stringId - The Resource ID of the Azure Databricks Access Connector resource, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name
. - Credential
Id string - Managed
Identity stringId - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name
.
- access
Connector StringId - The Resource ID of the Azure Databricks Access Connector resource, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name
. - credential
Id String - managed
Identity StringId - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name
.
- access
Connector stringId - The Resource ID of the Azure Databricks Access Connector resource, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name
. - credential
Id string - managed
Identity stringId - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name
.
- access_
connector_ strid - The Resource ID of the Azure Databricks Access Connector resource, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name
. - credential_
id str - managed_
identity_ strid - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name
.
- access
Connector StringId - The Resource ID of the Azure Databricks Access Connector resource, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Databricks/accessConnectors/connector-name
. - credential
Id String - managed
Identity StringId - The Resource ID of the Azure User Assigned Managed Identity associated with Azure Databricks Access Connector, of the form
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.ManagedIdentity/userAssignedIdentities/user-managed-identity-name
.
GetStorageCredentialStorageCredentialInfoAzureServicePrincipal
- Application
Id string - The application ID of the application registration within the referenced AAD tenant
- Client
Secret string - Directory
Id string - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application
- Application
Id string - The application ID of the application registration within the referenced AAD tenant
- Client
Secret string - Directory
Id string - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application
- application
Id String - The application ID of the application registration within the referenced AAD tenant
- client
Secret String - directory
Id String - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application
- application
Id string - The application ID of the application registration within the referenced AAD tenant
- client
Secret string - directory
Id string - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application
- application_
id str - The application ID of the application registration within the referenced AAD tenant
- client_
secret str - directory_
id str - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application
- application
Id String - The application ID of the application registration within the referenced AAD tenant
- client
Secret String - directory
Id String - The directory ID corresponding to the Azure Active Directory (AAD) tenant of the application
GetStorageCredentialStorageCredentialInfoCloudflareApiToken
- Access
Key stringId - Account
Id string - Secret
Access stringKey
- Access
Key stringId - Account
Id string - Secret
Access stringKey
- access
Key StringId - account
Id String - secret
Access StringKey
- access
Key stringId - account
Id string - secret
Access stringKey
- access_
key_ strid - account_
id str - secret_
access_ strkey
- access
Key StringId - account
Id String - secret
Access StringKey
GetStorageCredentialStorageCredentialInfoDatabricksGcpServiceAccount
- Credential
Id string - Email string
- The email of the GCP service account created, to be granted access to relevant buckets.
- Credential
Id string - Email string
- The email of the GCP service account created, to be granted access to relevant buckets.
- credential
Id String - email String
- The email of the GCP service account created, to be granted access to relevant buckets.
- credential
Id string - email string
- The email of the GCP service account created, to be granted access to relevant buckets.
- credential_
id str - email str
- The email of the GCP service account created, to be granted access to relevant buckets.
- credential
Id String - email String
- The email of the GCP service account created, to be granted access to relevant buckets.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricks
Terraform Provider.