Zyborg » Zyborg.Vault » Set-VltSecretMountOptions

Set-VltSecretMountOptions

NAME

Set-VltSecretMountOptions

SYNOPSIS

Tune configuration options for a mounted secret provider.

Comparable to the vault CLI 'mount-tune' command.

SYNTAX

Set-SecretMountOptions [[-MountName] <string>] [-DefaultLeaseTtl <string>] [-MaxLeaseTtl <string>] [-VaultAddress <string>] [-VaultProfile <string>] [-VaultSession <object>] [-VaultToken <string>] [<CommonParameters>]

DESCRIPTION



PARAMETERS


-MountName <string>
The name of the mount point to adjust configuration options for.

        Required?                    false
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-DefaultLeaseTtl <string>
Default lease time-to-live for this backend.

If not specified, uses the system default, or the previously set value. Set to 'system' to explicitly set it to use the system default.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-MaxLeaseTtl <string>
Max lease time-to-live for this backend.

If not specified, uses the system default, or the previously set value. Set to 'system' to explicitly set it to use the system default.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VaultSession <object>
Specifies a Vault Session object that represents a connected-state container to a Vault server.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-vs <object>
Specifies a Vault Session object that represents a connected-state container to a Vault server.

This is an alias of the VaultSession parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VaultProfile <string>
Specifies the name of a persisted Vault connection profile whose attributes define default parameters for connecting to a Vault server endpoint.

Other connection parameters on this command may override whatever attributes are defined in the profile.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-vp <string>
Specifies the name of a persisted Vault connection profile whose attributes define default parameters for connecting to a Vault server endpoint.

Other connection parameters on this command may override whatever attributes are defined in the profile.

This is an alias of the VaultProfile parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VaultAddress <string>
Specifies the Vault server connection endpoint URL.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-va <string>
Specifies the Vault server connection endpoint URL.

This is an alias of the VaultAddress parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VaultToken <string>
Specifies the Vault server connection authentication token to identify the caller to the server.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-vt <string>
Specifies the Vault server connection authentication token to identify the caller to the server.

This is an alias of the VaultToken parameter.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). 

INPUTS



OUTPUTS



EXAMPLES


---------- EXAMPLE 1 ----------

##
Set-VltSecretMountOptions -DefaultLeaseTtl 24h secret


RELATED LINKS

-none-


2017-06-19 12:39:53