inlets / inlets/inletsctl

Write a state file with the machine provisioned, its ID and auth token

Open
#28 7 comments 0 reactions 1 assignee Claimed by @utsavanand2 View on GitHub
Dominant language
Go
Stars
488
Forks
62
PR merge metrics
No merged PRs in 30d

Description

This feature will write a state file with the machine provisioned, its ID and auth token

## Expected Behaviour

A file (probably YAML file) should be written to disk after provisioning a host, it will be used by the user to be able to delete or reconnect to the host at a later date, it's especially useful if the auth token, ID or IP was lost.

## Current Behaviour

In this scenario, I have to delete / re-create, or ssh into the exit server after doing a password reset.

## Possible Solution

Write a file such as `host-name-inletsctl.yaml` with:

```yaml
host:
metadata:
created_at: A
provider: B
region: C
ip: Y
id : Z
auth_token: A
pro: true/false
```

Initially, this will not be consumable by the CLI itself, but will act like a state file or reminder for the user.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.