{% extends "base.html" %} {% block content %} {% if iam_locked %}{% set iam_disabled = "disabled" %}{% else %}{% set iam_disabled = "" %}{% endif %} {% if iam_locked %} {% endif %} {% if disclosed_secret %} {% endif %} {% if not iam_locked %}
Configuration Preview {{ config_summary.user_count }} users
{{ config_document }}

Secrets are masked above. IAM config is encrypted at rest.

{% endif %}
Users

{% if not iam_locked %}{{ users|length }}{% else %}{{ "?" }}{% endif %} user{% if not iam_locked and users|length != 1 %}s{% endif %} configured

{% if iam_locked %}View only{% endif %}
{% if iam_locked %}
{% else %}
{% if users %} {% if users|length > 1 %}
{% endif %}
{% for user in users %}
{{ user.display_name }}
{% if user.is_admin %} Admin {% else %} User {% endif %} {% if user.is_expired %} Expired {% elif user.is_expiring_soon %} Expiring soon {% endif %}
{{ user.access_key }}
Bucket Permissions
{% for policy in user.policies %} {% if policy.bucket == "*" %}{% set bucket_label = "All Buckets" %}{% else %}{% set bucket_label = policy.bucket %}{% endif %} {% if "*" in policy.actions %} {% set perm_label = "Full Access" %} {% elif policy.actions|length >= 19 %} {% set perm_label = "Full Access" %} {% elif "list" in policy.actions and "read" in policy.actions and "write" in policy.actions and "delete" in policy.actions %} {% set perm_label = "Read + Write + Delete" %} {% elif "list" in policy.actions and "read" in policy.actions and "write" in policy.actions %} {% set perm_label = "Read + Write" %} {% elif "list" in policy.actions and "read" in policy.actions %} {% set perm_label = "Read Only" %} {% else %} {% set policy_actions_count = policy.actions | length %} {% set perm_label = "Custom (" ~ policy_actions_count ~ ")" %} {% endif %} {{ bucket_label }} ยท {{ perm_label }} {% else %} No policies {% endfor %}
{% endfor %}

No users match your filter.

{% else %}
No users yet

Create your first IAM user to manage access to your storage.

{% endif %}
{% endif %}
{% endblock %} {% block extra_scripts %} {{ super() }} {% endblock %}