Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access credentials for Docker image are missing #2854

Closed
d3zit opened this issue Dec 2, 2023 · 6 comments
Closed

Access credentials for Docker image are missing #2854

d3zit opened this issue Dec 2, 2023 · 6 comments
Labels

Comments

@d3zit
Copy link

d3zit commented Dec 2, 2023

None of the credentials available online in the documentation grant access to the web ui.

@d3zit d3zit added the question label Dec 2, 2023
Copy link

github-actions bot commented Dec 2, 2023

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

@d3zit
Copy link
Author

d3zit commented Dec 2, 2023

I also checked the conf file, but unfortunately nothing happens with those credentials.

requirements:
  go:
    command: go version
    type: installed_program
    version: 1.19
  python:
    attr: version
    module: sys
    type: python_module
    version: 3.8.0
users:
  blue:
    blue: admin
  red:
    admin: admin
    red: admin

@AnkurYogi
Copy link

same here doesn't seem to find UI creds after docker install

@clenk
Copy link
Contributor

clenk commented Dec 5, 2023

What command are you using to start the server and which conf file are you looking in?

If you start the server with the --insecure option it will use default.yml, but if you don't use that option it will generate and use a local.yml which will contain different credentials.

@mohammadsyuhada
Copy link

@d3zit , @AnkurYogi

If you are using docker deployment. The credential file (conf/local.yml) is generated inside the container. You need to enter the container to retrieve it.

  1. List out your running docker containers. Keep note of the name of the container.
    docker ps

  2. Enter the container using exec command.
    docker exec -it your_container_name bash

  3. Once you entered the container terminal, run this to view the credentials
    cat conf/local.yml

@elegantmoose
Copy link
Contributor

reopen if still having trouble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants