Module netapp_ontap.models.s3_user_keys

Copyright © 2026 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class S3UserKeysSchema (*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)

The fields of the S3UserKeys object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC
  • abc.ABC

Class variables

access_key: str GET POST PATCH

Specifies the access key for the user.

Example:

expiry_time: ImpreciseDateTime GET POST PATCH

Specifies the date and time after which keys expire and are no longer valid.

Example: 2024-01-01T00:00:00.000+0000

id: Size GET POST PATCH

Specifies an S3 user key identifier. Each user can only have a maximum of two keys. The key_id can either be '1' or '2'.

Example: 1

time_to_live: str GET POST PATCH

Indicates the time period from when this parameter is specified:

  • when creating or modifying a user or
  • when the user keys were last regenerated, after which the user keys expire and are no longer valid.
  • Valid format is: 'PnDTnHnMnS|PnW'. For example, P2DT6H3M10S specifies a time period of 2 days, 6 hours, 3 minutes, and 10 seconds.
  • If the value specified is '0' seconds, then the keys do not expire.

Example: PT6H3M