AWS Sign-In Service

2026/06/10 - AWS Sign-In Service - 7 new api methods

Changes  AWS Sign-In now allows customers to control access to the AWS Management Console using resource-based policies. With this release customers can restrict console access based on network perimeters such as VPC IDs, VPC endpoints, and IP addresses.

PutResourcePermissionStatement (new) Link ¶

Create a permission statement in the account's SignIn resource-based policy

See also: AWS API Documentation

Request Syntax

client.put_resource_permission_statement(
    sourceVpc='string',
    signinSourceVpce='string',
    consoleSourceVpce='string',
    vpcSourceIp='string',
    sourceIp='string',
    requestedRegion='string',
    excludedPrincipal='string',
    clientToken='string'
)
type sourceVpc:

string

param sourceVpc:

VPC identifier to restrict console access

type signinSourceVpce:

string

param signinSourceVpce:

SignIn VPC endpoint identifier

type consoleSourceVpce:

string

param consoleSourceVpce:

Console VPC endpoint identifier

type vpcSourceIp:

string

param vpcSourceIp:

Source IP address within VPC

type sourceIp:

string

param sourceIp:

Source IP address

type requestedRegion:

string

param requestedRegion:

AWS region where the VPC and VPC endpoint reside Required when sourceVpc or signinSourceVpce/consoleSourceVpce is provided

type excludedPrincipal:

string

param excludedPrincipal:

Principal to exclude from the permission statement

type clientToken:

string

param clientToken:

Idempotency token for the request

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{
    'statementId': 'string'
}

Response Structure

  • (dict) --

    Output for PutResourcePermissionStatement operation

    • statementId (string) --

      Unique identifier for the created permission statement

GetResourcePolicy (new) Link ¶

Retrieve the account's consolidated SignIn resource-based policy

See also: AWS API Documentation

Request Syntax

client.get_resource_policy()
rtype:

dict

returns:

Response Syntax

{
    'signinResourceBasedPolicy': {
        'version': 'string',
        'statement': [
            {
                'effect': 'string',
                'principal': {
                    'string': 'string'
                },
                'action': [
                    'string',
                ],
                'resource': 'string',
                'condition': {
                    'string': {
                        'string': [
                            'string',
                        ]
                    }
                }
            },
        ]
    }
}

Response Structure

  • (dict) --

    Output for GetResourcePolicy operation

    • signinResourceBasedPolicy (dict) --

      The account's SignIn resource-based policy

      • version (string) --

        Policy version

      • statement (list) --

        Policy statements

        • (dict) --

          Individual policy statement within a resource-based policy

          • effect (string) --

            Effect of the policy statement (Allow/Deny)

          • principal (dict) --

            Principal the statement applies to

            • (string) --

              • (string) --

          • action (list) --

            Actions the statement controls

            • (string) --

          • resource (string) --

            Resource the statement applies to

          • condition (dict) --

            Condition block for the statement

            • (string) --

              Condition type identifier

              • (dict) --

                Condition mapping of keys to values

                • (string) --

                  • (list) --

                    List of condition values

                    • (string) --

ListResourcePermissionStatements (new) Link ¶

Retrieve all permission statements in the account's SignIn resource-based policy

See also: AWS API Documentation

Request Syntax

client.list_resource_permission_statements(
    maxResults=123,
    nextToken='string'
)
type maxResults:

integer

param maxResults:

Maximum number of results to return

type nextToken:

string

param nextToken:

Token for pagination

rtype:

dict

returns:

Response Syntax

{
    'permissionStatements': [
        {
            'sid': 'string',
            'condition': {
                'string': {
                    'string': [
                        'string',
                    ]
                }
            }
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    Output for ListResourcePermissionStatements operation

    • permissionStatements (list) --

      List of permission statement summaries

      • (dict) --

        Summary of a permission statement

        • sid (string) --

          Unique identifier for the permission statement

        • condition (dict) --

          Condition block for the permission statement

          • (string) --

            Condition type identifier

            • (dict) --

              Condition mapping of keys to values

              • (string) --

                • (list) --

                  List of condition values

                  • (string) --

    • nextToken (string) --

      Token for next page of results

PutConsoleAuthorizationConfiguration (new) Link ¶

Enable console authorization configuration with automatic scope detection

See also: AWS API Documentation

Request Syntax

client.put_console_authorization_configuration(
    targetId='string'
)
type targetId:

string

param targetId:

Target account identifier

rtype:

dict

returns:

Response Syntax

{
    'targetId': 'string',
    'scope': 'string',
    'consoleAuthorizationEnabled': True|False
}

Response Structure

  • (dict) --

    Output for PutConsoleAuthorizationConfiguration operation

    • targetId (string) --

      Target account identifier

    • scope (string) --

      Authorization scope

    • consoleAuthorizationEnabled (boolean) --

      Whether console authorization is enabled

GetConsoleAuthorizationConfiguration (new) Link ¶

Get console authorization configuration with automatic scope detection

See also: AWS API Documentation

Request Syntax

client.get_console_authorization_configuration(
    targetId='string'
)
type targetId:

string

param targetId:

Target account identifier

rtype:

dict

returns:

Response Syntax

{
    'targetId': 'string',
    'scope': 'string',
    'consoleAuthorizationEnabled': True|False
}

Response Structure

  • (dict) --

    Output for GetConsoleAuthorizationConfiguration operation

    • targetId (string) --

      Target account identifier

    • scope (string) --

      Authorization scope

    • consoleAuthorizationEnabled (boolean) --

      Whether console authorization is enabled

DeleteConsoleAuthorizationConfiguration (new) Link ¶

Delete console authorization configuration with automatic scope detection

See also: AWS API Documentation

Request Syntax

client.delete_console_authorization_configuration(
    targetId='string'
)
type targetId:

string

param targetId:

Target account identifier

rtype:

dict

returns:

Response Syntax

{
    'targetId': 'string',
    'scope': 'string',
    'consoleAuthorizationEnabled': True|False
}

Response Structure

  • (dict) --

    Output for DeleteConsoleAuthorizationConfiguration operation

    • targetId (string) --

      Target account identifier

    • scope (string) --

      Authorization scope

    • consoleAuthorizationEnabled (boolean) --

      Whether console authorization is enabled

DeleteResourcePermissionStatement (new) Link ¶

Remove a permission statement from the account's SignIn resource-based policy

See also: AWS API Documentation

Request Syntax

client.delete_resource_permission_statement(
    statementId='string',
    clientToken='string'
)
type statementId:

string

param statementId:

[REQUIRED]

Unique identifier of the permission statement to delete

type clientToken:

string

param clientToken:

Idempotency token for the request

This field is autopopulated if not provided.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

    Output for DeleteResourcePermissionStatement operation