mage.api_resources.cloud_credential module¶
-
class
mage.api_resources.cloud_credential.CloudCredential¶ Bases:
mage.api_resources.abstract.listable_api_resource.ListableAPIResource,mage.api_resources.abstract.mutable_api_resource.MutableAPIResourceA credential for Mage to access a cloud instance.
-
access_key¶ - Type
str
-
assessment_id¶ ID of the associated assessment
- Type
str
-
cloud_platform¶
-
created_at¶ When the cloud credential was created (e.g., ‘2020-01-02T03:04:56.789Z’)
- Type
str
-
id¶ Unique cloud credential ID (e.g., ‘11111111-1111-1111-1111-111111111111’)
- Type
str
-
name¶ - Type
str
-
updated_at¶ When the cloud credential was last updated (e.g., ‘2020-01-02T03:04:56.789Z’)
- Type
str
-
property
assessment¶ The associated assessment.
- Returns
-
classmethod
create(assessment_id, **kwargs)¶ Creates a cloud credential associated with an assessment.
- Parameters
assessment_id – ID of the assessment
**kwargs – Additional arguments to initialize the cloud credential with
- Returns
-