Teleport and MinIO #18499
Replies: 1 comment
-
A couple of comments using teleport v16.4.16 community edition and minio RELEASE.2024-10-13T13-34-11Z AGPLv3
|
Beta Was this translation helpful? Give feedback.
-
A couple of comments using teleport v16.4.16 community edition and minio RELEASE.2024-10-13T13-34-11Z AGPLv3
|
Beta Was this translation helpful? Give feedback.
-
Quickstart
If you want to quickly try Teleport with MinIO, you can run the following command to run MinIO using docker:
This will launch MinIO and make port 9000 (API) and 9001 (Console) available to the host.
Next, connect to MinIO Web UI at
http://localhost:9001
using the default credentials and create an API key by first clicking on "Access Keys" then "Create Access Key +".Copy these over to
~/.aws/credentials
so it looks something like the following.Lastly, update the
storage
section of Teleport configuration like below and restart Teleport.Teleport should now be using MinIO to store session recordings.
Using an existing MinIO installation
If you already have a MinIO installation, using Teleport is a one line configuration change. Specifically under the
storage
section look for theaudit_sessions_uri
field update the URL and query parameters accordingly.In the above example MinIO is available at
https://minio.example.com
on port 9000. Recordings will be stored in a bucket calledteleport
. The following query parameters are specified.insecure
: Controls network connection security. This isfalse
because MinIO is being being used over HTTPS. If you are accessing MinIO over plain HTTP, set this totrue
.disablesse
: Control is Server-side Encryption (SSE) is enabled. This is false if you have configured MinIO to support server side encryption. If you do not want to use Server-side Encryption, set this totrue
.region
: The region your bucket is in. This value can be anything.Debugging
If something is not working, look at both Teleport and MinIO logs.
When inspecting Teleport logs, make sure to start Teleport with the
--debug
flag to capture as much information as possible for us to help support you.When inspecting MinIO logs, use the
mc admin trace {TARGET}
command to turn on request tracing. This will help us understand what requests MinIO may be rejecting and why.Beta Was this translation helpful? Give feedback.
All reactions