mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Doc updates for mc RELEASE.2024-01-11T05-49-32Z (#1110)
Doc updates for the following: - Document alias naming requirements, including new minimum length rules - `mc tag set --exclude-folders` modifies the behavior of `--recursive` Staged: http://192.241.195.202:9000/staging/DOCS-1106/linux/reference/minio-mc/mc-alias-set.html#mc.alias.set.ALIAS http://192.241.195.202:9000/staging/DOCS-1106/linux/reference/minio-mc/mc-tag-set.html#mc.tag.set.-exclude-folders Fixes https://github.com/minio/docs/issues/1106 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
This commit is contained in:
@ -68,6 +68,22 @@ Parameters
|
|||||||
.. mc-cmd:: ALIAS
|
.. mc-cmd:: ALIAS
|
||||||
|
|
||||||
*Required* The name to associate to the S3-compatible service.
|
*Required* The name to associate to the S3-compatible service.
|
||||||
|
Aliases are case-sensitive and must meet the following requirements:
|
||||||
|
|
||||||
|
- Contain only `ASCII <https://en.wikipedia.org/wiki/ASCII>`__ lower case letters (``a-z``), upper case letters (``A-Z``), numbers (``[0-9]``), hyphen (``-``), or underscore (``_``).
|
||||||
|
- 2 or more characters in length.
|
||||||
|
- The first character must be a letter.
|
||||||
|
|
||||||
|
.. versionchanged:: RELEASE.2024-01-11T05-49-32Z
|
||||||
|
|
||||||
|
An alias may also be a single letter (``a-z`` or ``A-Z``).
|
||||||
|
|
||||||
|
Examples of some valid alias values include:
|
||||||
|
|
||||||
|
- ``myminio``
|
||||||
|
- ``Test-1``
|
||||||
|
- ``A``
|
||||||
|
- ``a``
|
||||||
|
|
||||||
.. mc-cmd:: URL
|
.. mc-cmd:: URL
|
||||||
|
|
||||||
@ -208,4 +224,4 @@ The MinIO Client fetches the peer certificate, computes the public key fingerpri
|
|||||||
If trusted, the MinIO Client automatically adds the certificate authority to:
|
If trusted, the MinIO Client automatically adds the certificate authority to:
|
||||||
|
|
||||||
- ``~/.mc/certs/CAs/`` on Linux and other Unix-like systems.
|
- ``~/.mc/certs/CAs/`` on Linux and other Unix-like systems.
|
||||||
- ``C:\Users\[username]\mc\certs\CAs\`` on Windows systems.
|
- ``C:\Users\[username]\mc\certs\CAs\`` on Windows systems.
|
||||||
|
@ -86,6 +86,23 @@ Parameters
|
|||||||
|
|
||||||
mc tag set myminio/mybucket/object.txt "key1=value1&key2=value2"
|
mc tag set myminio/mybucket/object.txt "key1=value1&key2=value2"
|
||||||
|
|
||||||
|
.. mc-cmd:: --exclude-folders
|
||||||
|
:optional:
|
||||||
|
|
||||||
|
.. versionadded:: RELEASE.2024-01-11T05-49-32Z
|
||||||
|
|
||||||
|
When used with :mc-cmd:`~mc tag set --recursive`, causes :mc:`mc tag set` to **not** traverse child prefixes.
|
||||||
|
Tags are only applied to objects at the specified path.
|
||||||
|
Requires :mc-cmd:`~mc tag set --recursive`.
|
||||||
|
|
||||||
|
The following example applies the tag ``destination=international`` to objects at ``vacation-photos/cancun/`` but not ``vacation-photos/cancun/ocean/`` or other prefixes.
|
||||||
|
|
||||||
|
For example, the above would add the tags to the object at``vacation-photos/cancun/pretty-beach.jpg`` but not to the object at``vacation-photos/cancun/ocean/tropical-fish.jpg``.
|
||||||
|
|
||||||
|
.. code-block:: shell
|
||||||
|
|
||||||
|
mc tag set myminio/vacation-photos/cancun "destination=international" --exclude-folders --recursive
|
||||||
|
|
||||||
.. mc-cmd:: --recursive, r
|
.. mc-cmd:: --recursive, r
|
||||||
:optional:
|
:optional:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user