Skip to content

Customize command

The customize command is used to set customization options for various aspects of Sidra.

Usage Options

The usage options are add-is-css, add-is-file and configure-is-passwords:

    .\sidra.exe customize add-is-css [parameters]
    .\sidra.exe customize add-is-file [parameters]
    .\sidra.exe customize configure-is-passwords [parameters]
    .\sidra.exe customize [add-is-css|add-is-file|configure-is-passwords] --help

1. Add-IS-CSS option

Adds a customization CSS styling rules file to the Identity Server instance.

Parameters

    --path

The path from where the CSS file will be loaded, excluding the file name: The CSS file will be renamed to customization.css in the destination path.

    --delay-publish

Determines whether the file needs to be published directly or not. You may want to delay the publishing, if more files are to be added.

Usage example

    .\sidra.exe customize add-is-css `
        --path="<PATH_FOR_CSS_FILE>" `
        --delay-publish=true

2. Add-IS-File option

Adds customization files to Identity Server.

Parameters

    --path

The path frome where the customization file will be loaded.

    --delay-publish

Determines whether the file needs to be published directly or not. You may want to delay the publishing, if more files are to be added.

Usage example

    .\sidra.exe customize add-is-file `
        --path="<PATH_OF_FILE>" `
        --delay-publish=true

3. Configure-IS-Passwords option

Generates configuration for password policies of the Identity Server instance.

Parameters

    --required-length
Determines the minimum number of characters that a password should have.

    --require-letters
Determines if the password must contain letters.
    --require-non-alphanumeric
Determines if the password must contain symbols.
    --require-lowercase
Determines if the password must contain lowercase characters.
    --require-uppercase
Determines if the password must contain uppercase characters.
    --require-digit
Determines if the password must contain numerical digits.
    --require-not-words
If true, Identity Server will prevent setting passwords that are a word from the dictionary.
    --require-not-common-passwords
If true, Identity Server will prevent setting commonly used passwords.
    --required-not-previous-password-times
If set, Identity Server will prevent users from setting a password that was used N passwords ago.
    --expiration-interval-in-days
Sets the password expiration duration.
    --data-protection-mail
Determines the mail related to data protection issues.
    --email-footer-text
Sets the text to be included on the e-mail footers.
    --logo-width
Establishes the width of the logo image in the e-mail messages, in pixels.
    --logo-height
Establishes the height of the logo image in the e-mail messages, in pixels.
    --delay-publish
Determines whether the file needs to be published directly or not. You may want to delay the publishing, if more files are to be added.

Usage example

    .\sidra.exe customize configure-is-passwords `
        --required-length=8 `
        --require-letters=true `
        --require-non-alphanumeric=true `
        --require-lowercase=true `
        --require-uppercase=true `
        --require-digit=true `
        --require-not-words=true `
        --require-not-common-passwords=true `
        --required-not-previous-password-times=5 `
        --expiration-interval-in-days=90 `
        --data-protection-mail="Data-Breaches@Northwind.com" `
        --email-footer-text="This is an automated e-mail; please do not reply to this message. Use HelpDesk@Northwind.com for assistance." `
        --logo-width=120 `
        --logo-height=40 `
        --delay-publish=false

Last update: 2022-02-10
Back to top