Skip to content

Local User Policy

A Local User Policy defines local user accounts and password settings for server management endpoints (IMC/CIMC). It controls who can log in directly to a server’s management interface and with what permissions, independent of central identity services.

Location in Intersight GUI: Policies » Local User

Diagram

policies (compute.intersight.organizations)

Section titled “policies (compute.intersight.organizations)”
NameTypeConstraintMandatoryDefault Value
local_userList[local_user]No

local_user (compute.intersight.organizations.policies)

Section titled “local_user (compute.intersight.organizations.policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringNo
managedBooleantrue, falseNotrue
tagsList[tags]No
strong_passwordBooleantrue, falseNotrue
password_expiryBooleantrue, falseNofalse
password_expiry_durationIntegermin: 1, max: 3650No90
password_historyIntegermin: 0, max: 5No5
notification_periodIntegermin: 1, max: 15No15
grace_periodIntegermin: 0, max: 5No0
always_send_user_passwordBooleantrue, falseNofalse
usersList[users]No

tags (compute.intersight.organizations.policies.local_user)

Section titled “tags (compute.intersight.organizations.policies.local_user)”
NameTypeConstraintMandatoryDefault Value
keyStringYes
valueStringYes

users (compute.intersight.organizations.policies.local_user)

Section titled “users (compute.intersight.organizations.policies.local_user)”
NameTypeConstraintMandatoryDefault Value
usernameStringRegex: ^[a-zA-Z0-9._-]{1,16}$Yes
roleChoiceadmin, readonly, userYes
passwordStringNo
enabledBooleantrue, falseNotrue

Example-1: Comprehensive local user policy with password expiry controls and two user accounts — an admin and a read-only auditor.

compute:
intersight:
organizations:
- name: MyOrganization
policies:
local_user:
- name: standard-local-users
description: Standard local user accounts for server management
strong_password: true
password_expiry: true
password_expiry_duration: 90
password_history: 5
notification_period: 15
grace_period: 1
tags:
- key: env
value: prod
users:
- username: admin
role: admin
password: !env LOCAL_ADMIN_PASSWORD
enabled: true
- username: auditor
role: readonly
password: !env LOCAL_AUDITOR_PASSWORD
enabled: true

Example-2: Minimal local user policy with a single admin account and no password expiry.

compute:
intersight:
organizations:
- name: MyOrganization
policies:
local_user:
- name: minimal-local-users
users:
- username: admin
role: admin
password: !env LOCAL_ADMIN_PASSWORD