## zowe › profiles › update › zosmf-profile

z/OSMF Profile

Warning: This command has been deprecated.
Recommended replacement: The 'config set' command

#### Usage

zowe profiles update zosmf-profile <profileName> [options]

#### Positional Arguments

- `profileName` (string)

  - Specifies the name of the new zosmf profile. You can load this profile by using the name on commands that support the "--zosmf-profile" option.

#### Zosmf Connection Options

- `--host` | `-H` (string)

  - The z/OSMF server host name.

- `--port` | `-P` (number)

  - The z/OSMF server port.

- `--user` | `-u` (string)

  - Mainframe (z/OSMF) user name, which can be the same as your TSO login.

- `--password` | `--pass` | `--pw` (string)

  - Mainframe (z/OSMF) password, which can be the same as your TSO password.

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

- `--cert-file` (local file path)

  - The file path to a certificate file to use for authentication

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

- `--base-path` | `--bp` (string)

  - The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer.

- `--protocol` (string)

  - The protocol used (HTTP or HTTPS)

    Allowed values: http, https

#### Options

- `--encoding` | `--ec` (string)

  - The encoding for download and upload of z/OS data set and USS files. The default encoding if not specified is IBM-1047.

- `--response-timeout` | `--rto` (number)

  - The maximum amount of time in seconds the z/OSMF Files TSO servlet should run before returning a response. Any request exceeding this amount of time will be terminated and return an error. Allowed values: 5 - 600

#### Examples

- Update a zosmf profile named 'zos123' with a new username and password:

  - `zowe profiles update zosmf-profile zos123 --user newuser --password newp4ss`