You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/accounts.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,32 +6,28 @@ sidebar_position: 100
6
6
7
7
# Accounts
8
8
9
-
In this section, we'll be talking about a couple different topics related to accounts in Defang. First we'll cover authentication and how to create an account, and then we'll talk about how resources are organized within a cloud environment using your account info.
9
+
Below, we will cover account creation with Defang, and how resources are organized within a cloud environment using your account info.
10
10
11
-
:::tip Why do I need an account?
12
-
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md).
11
+
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md).
13
12
14
13
Eventually, billing and payment information will be associated with your account.
15
-
:::
16
14
17
15
## Creating an Account
18
16
19
-
To create an account, login to Defang and accept the [terms of service](https://defang.io/terms-service.html) using the [CLI](/docs/concepts/authentication.md).
17
+
To create an account, log in to Defang and accept the [Terms of Service](https://defang.io/policies/terms-service/) using the [CLI](/docs/concepts/authentication.md).
18
+
19
+
At the moment, the only way to authenticate with Defang is through GitHub. We plan to offer other [authentication](/docs/concepts/authentication.md) providers in the future.
20
20
21
-
At the moment, the only way to authenticate with Defang is through GitHub. We plan to offer other authentication providers in the future.
21
+
:::tip
22
+
Keep in mind that your Defang account is separate from your [cloud provider account](./defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
23
+
:::
22
24
23
25
## Structure
24
26
25
-
Your GitHub username will be used as your Defang username and your Defang username is used to group all your services and to generate domains for your services with the following structure:
27
+
Your GitHub username will be used as your Defang username. Your Defang username is used to group all your [services](/docs/concepts/services) and generate domains for your services with the following structure:
26
28
27
29
```
28
30
<username>-<servicename>--<port>.prod1.defang.dev
29
31
```
30
32
31
-
:::warning
32
-
Keep in mind that your Defang account is separate from your [cloud provider account](./defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
33
-
:::
34
-
35
-
:::info
36
-
We plan to introduce a more robust system for managing accounts, permissions, service groups, etc. in the future.
37
-
:::
33
+
For more about domain structures, see our [Domains](/docs/concepts/domains#structure) page.
Copy file name to clipboardExpand all lines: docs/concepts/authentication.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,14 @@ description: Authenticating with Defang.
6
6
7
7
# Authentication
8
8
9
-
To do pretty much anything with Defang, you'll need to authenticate with the system. You can do this by running the following command:
9
+
To do pretty much anything with Defang, you'll need to authenticate with the system. You can do this by running the following command in the [CLI](/docs/getting-started):
10
10
11
11
```bash
12
12
defang login
13
13
```
14
14
15
-
This will prompt you to open a browser and log into your Defang account. For now, the only way to login is with GitHub, though we will offer other providers to authenticate in the future. Once you've logged in, you can close the browser and return to the terminal. You should see a message that you've successfully logged in.
15
+
This will prompt you to open a browser and log in to your [Defang account](/docs/concepts/accounts). For now, the only way to log in is with GitHub, though we will offer other providers to authenticate in the future. Once you've logged in, you can close the browser and return to the terminal. You should see a message that you've successfully logged in.
16
16
17
-
:::warning
17
+
:::tip
18
18
Keep in mind that your Defang account is separate from your [cloud provider account](/docs/concepts/defang-byoc). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
0 commit comments