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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1432
1433
1434
1435
1436
1437
1438
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1432

class ServiceAccountTokenSummaryWithKey < Struct.new(
  :id,
  :key,
  :name)
  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)


1432
1433
1434
1435
1436
1437
1438
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1432

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

#nameString

The name of the service account token.

Returns:

  • (String)


1432
1433
1434
1435
1436
1437
1438
# File 'lib/aws-sdk-managedgrafana/types.rb', line 1432

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