mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Fixing multiple issues (#906)
DOCS-902: Add "M' and "Mi" units to --limit-upload and --limit-download DOCS-895: Take Bucket/IAM snapshot before site replication config DOCS-886: Add audit_kafka config settings and envvars.
This commit is contained in:
@ -316,6 +316,167 @@ HTTP Webhook Audit Log Target
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_WEBHOOK_QUEUE_SIZE` environment variable.
|
||||
|
||||
.. _minio-server-config-logging-kafka-audit:
|
||||
|
||||
Kafka Audit Log Target
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. mc-conf:: audit_kafka
|
||||
|
||||
The top-level configuration key for defining a Kafka broker target for publishing :ref:`MinIO audit logs <minio-logging>`.
|
||||
|
||||
Use :mc-cmd:`mc admin config set` to set or update a Kafka audit target.
|
||||
Specify additional optional arguments as a whitespace (``" "``)-delimited list.
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc admin config set audit_kafka \
|
||||
brokers="https://kafka-endpoint.example.net:9092" [ARGUMENTS=VALUE ...]
|
||||
|
||||
The :mc-conf:`audit_kafka` configuration key accepts the following arguments:
|
||||
|
||||
.. mc-conf:: brokers
|
||||
:required:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-brokers-desc
|
||||
:end-before: end-minio-kafka-audit-logging-brokers-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_BROKERS` environment variable.
|
||||
|
||||
.. mc-conf:: topic
|
||||
:required:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-topic-desc
|
||||
:end-before: end-minio-kafka-audit-logging-topic-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_TOPIC` environment variable.
|
||||
|
||||
.. mc-conf:: tls
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-tls-desc
|
||||
:end-before: end-minio-kafka-audit-logging-tls-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_TLS` environment variable.
|
||||
|
||||
.. mc-conf:: tls_skip_verify
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-tls-skip-verify-desc
|
||||
:end-before: end-minio-kafka-audit-logging-tls-skip-verify-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_TLS_SKIP_VERIFY` environment variable.
|
||||
|
||||
.. mc-conf:: tls_client_auth
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-tls-client-auth-desc
|
||||
:end-before: end-minio-kafka-audit-logging-tls-client-auth-desc
|
||||
|
||||
Requires specifying :mc-conf:`~audit_kafka.client_tls_cert` and :mc-conf:`~audit_kafka.client_tls_key`.
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_TLS_CLIENT_AUTH` environment variable.
|
||||
|
||||
.. mc-conf:: client_tls_cert
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-client-tls-cert-desc
|
||||
:end-before: end-minio-kafka-audit-logging-client-tls-cert-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_CLIENT_TLS_CERT` environment variable.
|
||||
|
||||
|
||||
.. mc-conf:: client_tls_key
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-client-tls-key-desc
|
||||
:end-before: end-minio-kafka-audit-logging-client-tls-key-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_CLIENT_TLS_KEY` environment variable.
|
||||
|
||||
.. mc-conf:: sasl
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-desc
|
||||
|
||||
Requires specifying :mc-conf:`~audit_kafka.sasl_username` and :mc-conf:`~audit_kafka.sasl_password`.
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_SASL` environment variable.
|
||||
|
||||
|
||||
.. mc-conf:: sasl_username
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-username-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-username-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_SASL_USERNAME` environment variable.
|
||||
|
||||
.. mc-conf:: sasl_password
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-password-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-password-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_SASL_PASSWORD` environment variable.
|
||||
|
||||
.. mc-conf:: sasl_mechanism
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-mechanism-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-mechanism-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_SASL_MECHANISM` environment variable.
|
||||
|
||||
.. important::
|
||||
|
||||
The ``PLAIN`` authentication mechanism sends credentials in plain text over the network.
|
||||
Use :mc-conf:`~audit_kafka.tls` to enable TLS connectivity to the Kafka brokers and ensure secure transmission of SASL credentials.
|
||||
|
||||
.. mc-conf:: version
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-version-desc
|
||||
:end-before: end-minio-kafka-audit-logging-version-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_VERSION` environment variable.
|
||||
|
||||
.. mc-conf:: comment
|
||||
:optional:
|
||||
:delimiter: " "
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-comment-desc
|
||||
:end-before: end-minio-kafka-audit-logging-comment-desc
|
||||
|
||||
This setting corresponds to the :envvar:`MINIO_AUDIT_KAFKA_COMMENT` environment variable.
|
||||
|
||||
.. _minio-server-config-bucket-notification-amqp:
|
||||
|
||||
AMQP Service for Bucket Notifications
|
||||
|
@ -168,7 +168,9 @@ Rebalancing Ignores Expired Objects and Trailing ``DeleteMarker``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Starting with :minio-release:`RELEASE.2023-06-23T20-26-00Z`, rebalancing ignores object versions which have expired based on the configured :ref:`lifecycle rules <minio-lifecycle-management-expiration>` for the parent bucket.
|
||||
Rebalancing also ignores objects where the only remaining version is a ``DeleteMarker``.
|
||||
|
||||
Rebalancing also ignores objects where the only remaining version is a :ref:`delete marker <minio-bucket-versioning-delete>`.
|
||||
This avoids inter-pool :abbr:`I/O (Input/Output)` for objects already considered fully deleted.
|
||||
|
||||
MinIO relies on the :ref:`scanner <minio-lifecycle-management-scanner>` to capture and remove those expired objects or trailing ``DeleteMarker`` objects.
|
||||
|
||||
|
@ -167,7 +167,7 @@ For the **source deployment**
|
||||
* - ``endpoint:``
|
||||
- | Location of the source deployment.
|
||||
|
|
||||
| If the source is the :ref:`alias <alias>`` specified to the command, you can omit this and the ``credentials`` fields.
|
||||
| If the source is the :ref:`alias <alias>` specified to the command, you can omit this and the ``credentials`` fields.
|
||||
| If the source is "local", the target *must* specify the remote deployment with ``endpoint`` and ``credentials``.
|
||||
|
||||
* - ``path:``
|
||||
@ -207,7 +207,7 @@ For the **target deployment**
|
||||
* - ``endpoint:``
|
||||
- | The location of the target deployment.
|
||||
|
|
||||
| If the target is the :ref:`alias <alias>`` specified to the command, you can omit this and the ``credentials`` fields.
|
||||
| If the target is the :ref:`alias <alias>` specified to the command, you can omit this and the ``credentials`` fields.
|
||||
| If the target is "local", the source *must* specify the remote deployment with ``endpoint`` and ``credentials``.
|
||||
|
||||
|
||||
|
@ -149,6 +149,8 @@ Parameters
|
||||
Perform a mock mirror operation.
|
||||
Use this operation to test that the :mc:`mc mirror` operation will only mirror the desired objects or buckets.
|
||||
|
||||
.. --limit-download and --limit-upload included here
|
||||
|
||||
.. include:: /includes/linux/minio-client.rst
|
||||
:start-after: start-mc-limit-flags-desc
|
||||
:end-before: end-mc-limit-flags-desc
|
||||
|
@ -592,6 +592,7 @@ documentation.
|
||||
|
||||
- :ref:`minio-sever-envvar-logging-regular`
|
||||
- :ref:`minio-sever-envvar-logging-audit`
|
||||
- :ref:`minio-sever-envvar-logging-audit-kafka`
|
||||
|
||||
.. _minio-sever-envvar-logging-regular:
|
||||
|
||||
@ -701,8 +702,8 @@ server logs webhook endpoints:
|
||||
|
||||
.. _minio-sever-envvar-logging-audit:
|
||||
|
||||
Audit Logs
|
||||
++++++++++
|
||||
Webhook Audit Logs
|
||||
++++++++++++++++++
|
||||
|
||||
The following section documents environment variables for configuring MinIO to
|
||||
publish audit logs to an HTTP webhook endpoint. See
|
||||
@ -800,6 +801,146 @@ audit log webhook endpoints:
|
||||
|
||||
This variable corresponds to the :mc-conf:`audit_webhook queue_size <audit_webhook.queue_size>` configuration setting.
|
||||
|
||||
.. _minio-sever-envvar-logging-audit-kafka:
|
||||
|
||||
Kafka Audit Logs
|
||||
++++++++++++++++
|
||||
|
||||
The following section documents environment variables for configuring MinIO to publish audit logs to a Kafka broker.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_ENABLE
|
||||
:required:
|
||||
|
||||
Set to ``"on"`` to enable the target.
|
||||
|
||||
Set to ``"off"`` to disable the target.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_BROKERS
|
||||
:required:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-brokers-desc
|
||||
:end-before: end-minio-kafka-audit-logging-brokers-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.brokers` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_TOPIC
|
||||
:required:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-topic-desc
|
||||
:end-before: end-minio-kafka-audit-logging-topic-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.topic` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_TLS
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-tls-desc
|
||||
:end-before: end-minio-kafka-audit-logging-tls-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.tls` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_TLS_SKIP_VERIFY
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-tls-skip-verify-desc
|
||||
:end-before: end-minio-kafka-audit-logging-tls-skip-verify-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.tls_skip_verify` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_SASL
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-desc
|
||||
|
||||
Requires specifying :envvar:`MINIO_AUDIT_KAFKA_SASL_USERNAME` and :envvar:`MINIO_AUDIT_KAFKA_SASL_PASSWORD`.
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.sasl` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_SASL_USERNAME
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-username-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-username-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.sasl_username` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_SASL_PASSWORD
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-password-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-password-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.sasl_password` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_SASL_MECHANISM
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-sasl-mechanism-desc
|
||||
:end-before: end-minio-kafka-audit-logging-sasl-mechanism-desc
|
||||
|
||||
.. important::
|
||||
|
||||
The ``PLAIN`` authentication mechanism sends credentials in plain text over the network.
|
||||
Use :envvar:`MINIO_AUDIT_KAFKA_TLS` to enable TLS connectivity to the Kafka brokers and ensure secure transmission of SASL credentials.
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.sasl_mechanism` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_TLS_CLIENT_AUTH
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-tls-client-auth-desc
|
||||
:end-before: end-minio-kafka-audit-logging-tls-client-auth-desc
|
||||
|
||||
Requires specifying :envvar:`MINIO_AUDIT_KAFKA_CLIENT_TLS_CERT` and :envvar:`MINIO_AUDIT_KAFKA_CLIENT_TLS_KEY`.
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.tls_client_auth` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_CLIENT_TLS_CERT
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-client-tls-cert-desc
|
||||
:end-before: end-minio-kafka-audit-logging-client-tls-cert-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.client_tls_cert` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_CLIENT_TLS_KEY
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-client-tls-key-desc
|
||||
:end-before: end-minio-kafka-audit-logging-client-tls-key-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.client_tls_key` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_VERSION
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-version-desc
|
||||
:end-before: end-minio-kafka-audit-logging-version-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.version` configuration setting.
|
||||
|
||||
.. envvar:: MINIO_AUDIT_KAFKA_COMMENT
|
||||
:optional:
|
||||
|
||||
.. include:: /includes/common-mc-admin-config.rst
|
||||
:start-after: start-minio-kafka-audit-logging-comment-desc
|
||||
:end-before: end-minio-kafka-audit-logging-comment-desc
|
||||
|
||||
This environment variable corresponds to the :mc-conf:`audit_kafka.comment` configuration setting.
|
||||
|
||||
Bucket Notifications
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Reference in New Issue
Block a user