HumHub Documentation (unofficial)

Tag
in package

FinalYes

You can pass custom key-value pair attributes when you assume a role or federate a user. These are called session tags. You can then use the session tags to control access to resources. For more information, see Tagging Amazon Web Services STS Sessions [^1] in the *IAM User Guide*.

Table of Contents

Properties

$key  : string
The key for a session tag.
$value  : string
The value for a session tag.

Methods

__construct()  : mixed
create()  : self
getKey()  : string
getValue()  : string
throwException()  : never

Properties

$key

The key for a session tag.

private string $key

You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128 characters. For these and additional limits, see IAM and STS Character Limits ^1 in the IAM User Guide.

$value

The value for a session tag.

private string $value

You can pass up to 50 session tags. The plain text session tag values can’t exceed 256 characters. For these and additional limits, see IAM and STS Character Limits ^1 in the IAM User Guide.

Methods

__construct()

public __construct(array{Key: string, Value: string} $input) : mixed
Parameters
$input : array{Key: string, Value: string}

create()

public static create(array{Key: string, Value: string}|Tag $input) : self
Parameters
$input : array{Key: string, Value: string}|Tag
Return values
self

getKey()

public getKey() : string
Return values
string

getValue()

public getValue() : string
Return values
string

throwException()

private throwException(Throwable $exception) : never
Parameters
$exception : Throwable
Return values
never

        
On this page

Search results