Class: Aws::ManagedGrafana::Types::ServiceAccountTokenSummaryWithKey
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedGrafana::Types::ServiceAccountTokenSummaryWithKey
- 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
-
#id ⇒ String
The unique ID of the service account token.
-
#key ⇒ String
The key for the service account token.
-
#name ⇒ String
The name of the service account token.
Instance Attribute Details
#id ⇒ String
The unique ID of the service account token.
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 |
#key ⇒ String
The key for the service account token. Used when making calls to the Grafana HTTP APIs to authenticate and authorize the requests.
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 |
#name ⇒ String
The name of the service account token.
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 |