Class: Aws::ManagedGrafana::Types::ServiceAccountTokenSummaryWithKey

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb

Overview

A structure that contains the information about a service account token.

This structure is returned when creating the token. It is important to store the key that is returned, as it is not retrievable at a later time.

If you lose the key, you can delete and recreate the token, which will create a new key.

Constant Summary collapse

SENSITIVE =
[:key]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The unique ID of the service account token.

Returns:

  • (String)


1438
1439
1440
1441
1442
1443
1444
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 1438

class ServiceAccountTokenSummaryWithKey < Struct.new(
  :id,
  :name,
  :key)
  SENSITIVE = [:key]
  include Aws::Structure
end

#keyString

The key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests.

Returns:

  • (String)


1438
1439
1440
1441
1442
1443
1444
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 1438

class ServiceAccountTokenSummaryWithKey < Struct.new(
  :id,
  :name,
  :key)
  SENSITIVE = [:key]
  include Aws::Structure
end

#nameString

The name of the service account token.

Returns:

  • (String)


1438
1439
1440
1441
1442
1443
1444
# File 'gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/types.rb', line 1438

class ServiceAccountTokenSummaryWithKey < Struct.new(
  :id,
  :name,
  :key)
  SENSITIVE = [:key]
  include Aws::Structure
end