Oracle 视图 ALL_CREDENTIALS 官方解释,作用,如何使用详细说明

本站中文解释

视图

Oracle ALL_CREDENTIALS 视图显示一个用户或所有用户定义的安全凭证。

该视图显示定义的数据库用户,凭证名称,创建者,凭据的认证方法和可用的密钥信息。此视图可用于理解安全凭证的用户,以及定义他们的信息。

可以通过使用以下语句从ALL_CREDENTIALS视图显示全部安全凭据的信息:

SELECT * FROM ALL_CREDENTIALS;

官方英文解释

ALL_CREDENTIALS lists all credentials visible to the user.

Related Views

  • DBA_CREDENTIALS lists all credentials in the database.

  • USER_CREDENTIALS lists credentials owned by the current user. This view does not display the OWNER column.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

NOT NULL

Owner of the credential

CREDENTIAL_NAME

VARCHAR2(128)

NOT NULL

Name of the credential

USERNAME

VARCHAR2(128)

Name of the user that will be used to log in to the remote database or the remote or local operating system

WINDOWS_DOMAIN

VARCHAR2(30)

For a Windows target, the Windows domain to use when logging in

COMMENTS

VARCHAR2(4000)

Comments on the credential

ENABLED

VARCHAR2(5)

Indicates whether this credential is enabled (TRUE) or not (FALSE)

Note:

DBMS_CREDENTIAL lists credentials that can be used to run external procedures, or by DBMS_SCHEDULER for remote or external jobs, or for storing or retrieving files from the operating system.

If a credential is disabled, then any of the actions above that attempts to use the credential will fail.

See Also:

  • “DBA_CREDENTIALS”

  • “USER_CREDENTIALS”

  • Oracle Database PL/SQL
    Packages and Types Reference
    for more information about the DBMS_CREDENTIAL package

  • Oracle Database PL/SQL
    Packages and Types Reference
    for more information about the DBMS_SCHEDULER package


数据运维技术 » Oracle 视图 ALL_CREDENTIALS 官方解释,作用,如何使用详细说明