Share via


Credential

The Credential entity represents a set of credentials in System Management Automation. The Credentials collection includes all of the credentials in the local System Management Automation environment.

Inheritance Hierarchy

Orchestrator.ResourceModel
  Credential

Supported HTTP Verbs

Create (POST) Read (GET) Update (PUT) Delete (DELETE)

True

True

True

True

Entity Properties

For more information about how the properties of an entity interact with HTTP operations, see Service Management Automation Web Service Fundamentals.

Name Create (PUT) Read (GET) Update (POST) Delete (DELETE) Type Nullable Description

CredentialID

            -

      Optional*

      Required

      Required

Edm.Guid

False

Key Property

The unique identifier of the credentials.

CreationTime

            -

      Optional

            -

            -

Edm.DateTime

False

The date and time the credentials were last modified.

Description

            -

      Optional

            -

            -

Edm.String

True

The description of the credentials.

LastModifiedTime

            -

      Optional

            -

            -

Edm.DateTime

False

The date and time the credentials were last modified.

Name

            -

      Optional

            -

            -

Edm.String

False

The name of the credentials.

RawValue

            -

      Optional

            -

            -

Edm.String

True

The password in plaintext. This is only used when data is sent to the Web service. This property will always contain null when getting data back from the Web service.

TenantID

            -

      Optional

            -

            -

Edm.Guid

False

The unique identity of the tenant that manages the System Management Automation service.

UserName

            -

      Optional

            -

            -

Edm.String

False

The user name.

Value

            -

      Optional

            -

            -

Edm.String

True

The encrypted password.

 

Note

*Direct access to the entity requires the key property CredentialID. This property is not required to simply enumerate the Credentials collection.

Relationships

This entity does not have any relationships.

Examples

Examples of supported data operations are available in the Credentials collection topic.

See Also

Concepts

Credentials