> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# show_credential

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_credential.rs#L22-L28)
pub async fn [show\_credential](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-credential.md#method.show_credential)( \&self, credential\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowCredentialResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Show information about a credential.Shows information about a specified credential or all credentials.

##### Arguments

<ul>
  <li>`credential_name` - Name of the credential on which to retrieve information. The name must refer to a currently existing credential. If ‘\*’ is specified, information about all credentials will be returned.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_credential.rs#L42-L58)
pub async fn [show\_credential\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-credential.md#method.show_credential_with_opts)( \&self, credential\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), options: [ShowCredentialRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowCredentialResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Show information about a credential.Shows information about a specified credential or all credentials.

##### Arguments

<ul>
  <li>`credential_name` - Name of the credential on which to retrieve information. The name must refer to a currently existing credential. If ‘\*’ is specified, information about all credentials will be returned.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_credential.rs#L61-L72)
pub async fn [show\_credential\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-credential.md#method.show_credential_raw)( \&self, request: &[ShowCredentialRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowCredentialResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`ShowCredentialRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialRequest) to the `/show/credential` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/show_credential.rs#L76-L88)
pub async fn [show\_credential\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/show-credential.md#method.show_credential_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[ShowCredentialRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[ShowCredentialResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`ShowCredentialRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.ShowCredentialRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.