A lesson is completed when you tick it, when you watch its video to the end or when you score 80% on its quiz. The certificate is issued online after the final assessment, from a score of 32 out of 40.
Lesson 8, module 3: The vault and security Storing an access in the vault Sandrine has just e-mailed the FTP password. What now?
The secret travels once, then it never leaves the vault. [Diagram: The journey of an access] 1. The client sends it 2. You store it 3. The agent picks it 4. Nexus connects 5. The log keeps track The secret goes into the vault once; after that, only log lines move around. An access record has six fields. Two guide the agent. The type: FTP / SFTP, SSH, API key… The environment: production or staging The link: the site, the server, the client Notes aren't encrypted, and the agent reads them. Never a password in the notes The secret goes in its own field, encrypted You don't have to tell the agent which access to use. Request: Find out why the merchant's old site is slow. Use the right access from the vault, tell me which one, and don't change anything. Response: Access chosen: shared hosting FTP, production, read-only. Two likely causes, with the files involved. Nothing has been changed. Four questions before saving a record. [Diagram: Before clicking Save] 1. Would a colleague understand the label without calling you? 2. Is the environment set to something other than "Not specified"? 3. Is the access linked to the right site, server or client? 4. Are the notes free of any password? Yes to all: Save, then ask the agent which access it would choose for this site: its answer tells you if the record is clear. In the exercise, you store the four accesses Sandrine sent to Malik. Your turn: Store the old site's four accesses The written lesson, the worked exercise and the quiz are below the video.
Lesson 8 of 48 · module 3, the vault and security
Store an access in the vault
An access is stored once, encrypted, in the Nexus vault: a clear label, one of the eight types, the environment and the site it is linked to. The agent then chooses the access by site, host and environment, logs in without seeing the secret and says so. The notes, however, are not encrypted.
25 min of reading
1 min 41 of video
7 diagrams
3 demandes to copy
3 exemples pratiques
4 exercices answerss
5 questions
1 ressource
By the end of this lesson, you will know how to
Fill in an access entry that the agent and a colleague understand first time
Choose the type, environment and link that guide the agent to the right access
Check which access the agent used, without the secret going through the conversation
What’s covered
What the vault does, and what it prevents
Fill in the entry, field by field
The label and environment guide the agent
Store it in the right place
3 worked examples, followed from start to finish
Exercise with answers · Store the old site’s four accesses
3 practice exercises, from guided to demanding cases
The quiz
Key points
An access is stored once, encrypted, in the right place: a clear label, a type, an environment, a link.
The agent chooses the access by site, host and environment, and says which one it is using: you don’t have to tell it.
The notes are not encrypted and the agent reads them: no passwords, no hints.
A key created during the work is stored in the vault; otherwise it disappears with the local folder.
If the agent asks for a password, correct the entry; don’t give it the secret.
On a Thursday at 5pm, Sandrine finally replies to Malik’s request: “Here are the accesses for the old site, the ones the former provider left us.” Then, jumbled together in the e-mail, come the shared host’s FTP address, a username and a password, followed by the WordPress back-office address with another username and password. Malik has two bad options to hand: paste it all into the conversation with the agent, or leave it in his inbox. The Nexus vault is the third, and the only one that holds up over time.
What the vault does, and what it prevents
The vault stores each access once, encrypted, in the project. From then on it serves the whole team with the right to use it: nobody has to pass it on in a message again. Above all, the agent uses it without copying it. When it needs to run a command on a server, Nexus runs it with the chosen access: the secret never passes through the agent’s terminal, so it appears in no conversation. Every connection leaves a line in the log, with who, where and when.
The journey of an access
1The client sends it
By e-mail or phone: the only time the secret travels in plain text.
2You store it
Add an access credential: label, type, environment, attachment, secret.
3The agent chooses it
By site, host and environment, and it says which one it is using.
4Nexus logs in
The command runs with the chosen access; the secret never passes through the agent’s terminal.
5The log keeps it
Who, where, when, marked “read”, “production” or “refused”.
The secret enters the vault once; after that, only log lines circulate.
Fill in the entry, field by field
You open the vault from its icon in the top bar, or from the dock. The “Add an access” button opens an entry. The label may vary slightly by version: Nexus changes every week, and the official guide is the reference if in doubt.
Store the old host’s FTP access
Open the vault using its icon in the top bar, or from the dock.
Click “Add an access”.
Label: “Shared hosting FTP, merchant’s old site, production”.
Type: FTP / SFTP. Environment: Production.
Link: the former merchant’s site (or, failing that, the client).
Enter the host, port and username, then paste the password into the secret field, and nowhere else.
In the notes, write what helps without revealing anything: “Sent by Sandrine on [date]. Site folder: /www. Change after takeover.”
Save, then delete Sandrine’s email from your inbox or archive it out of reach.
What an access entry holds
Label
What it is, in plain words, for a colleague: “FTP shared hosting, old site, production”.
Type and environment
Eight types, four environments: the agent uses these to choose which access to use.
Linking
The site, the server or the client: the access is then available to everyone on the team who is entitled to it.
Host, port, username, address
What is used to log in and is not secret. The site address lets the login page be filled in.
Secret
Password, key or token: encrypted, never returned in a conversation, every display logged.
Notes
What you need to know to use it. Not encrypted and read by the agent: no passwords here.
From top to bottom: what guides the agent, then what stays hidden, then what is readable in plain text.
The eight types, and what the agency stores in them
Type
Example in the wine merchant’s project
What matters
Server
The agency’s virtual private server that will host the future site
The machine’s host and environment
SSH connection
The deploy access to staging
The username and the key or password
FTP / SFTP
The old shared hosting provider
The host, the port, the site folder in the notes
Database
The MySQL database of the old WordPress site
The database name, the host, the user
API key
The key for the form’s email-sending service
The service, the environment, the key’s rights
Account / service
The WordPress back office, the hosting provider’s client area
The site’s login address
Environment variable
A value the project’s .env expects
The label matching the variable name (next lesson)
Fichier
A certificate, a service account file
The name of the file to put back
The label and environment guide the agent
You don’t have to tell the agent which access to use. It chooses by site, host and environment: staging to try things out, production to deliver, and it says which one it is using. That choice is only sound if the records are clean. Two accesses named “FTP” with no environment force the agent to ask a question or, worse, to pick the wrong one. A useful label always follows the same order: service, use, site, environment.
Before you click Save
1Would a colleague understand the label without calling you?
No Name the provider, the use, the site and the environment.
2Is the environment something other than “Not specified”?
No Choose Production, Staging or Development: the agent relies on it.
3Is the access linked to the right site, server or client?
No Link it, otherwise nobody will find it from the site.
4Are the notes free of any password?
No Move the secret into its field: the notes are not encrypted.
Yes to allSave, then ask the agent which access it would choose for this site: its answer tells you whether the entry is clear.
A single “no” and the entry is corrected before it exists.
Have the agent work with a filed access
Project for the Saint-Émilion merchant.
Look into why the old site takes more than five seconds to load.
Use the appropriate vault access to read the old host’s files, and tell me first which one you chose.
Read-only: do not modify, delete or download any file on the server.
Give me the likely causes, ranked from most to least significant, with the file responsible for each.
Roughly what you should get
What to expect: a first line “Access chosen: shared hosting FTP, wine merchant's old site, production”, then three or four ranked causes (a homepage image of several megabytes, a disabled cache extension, an old PHP version), each with its path. No password in the reply, and one more line in the vault log.
If the agent asks you for the password, the entry is wrongly linked or wrongly named: correct the entry rather than giving it the secret.
Store a key created during the work
Store the key you have just created for the staging environment in the project’s accesses.
Label: “[service], staging key, merchant’s site”. Type: API key. Environment: Staging.
In the notes, write what it is for and the creation date, without the value.
Then confirm the entry created, without displaying the secret.
Roughly what you should get
What to expect: a new access record in the project, with the requested label, and confirmation of its type and environment. The value is not repeated.
A key left in a local file disappears along with the workstation's folder. Stored in the vault, it serves the whole team.
Store it in the right place
An access can live in a project, or in the company vault, linked to a site, a server or a client. The API inventory also distinguishes accesses stored in projects from those in the company vault, and lets you detach an access from a project without deleting it: it stays in the vault with its other links. A person assigned to a project also gets its sites and their accesses, without having to ask for them again.
Where to store the access
In the project
A key dedicated to this development
A test account created for acceptance testing
What disappears with the project
On the site, the server or the client
The FTP of a site’s hosting provider
SSH for a machine in the fleet
The back office used by several projects
The right scope avoids duplicates: an access filed once, in the right place.
Review a project’s accesses without their secretsTerminal
# la liste des accès d'un projet : libellé, type, environnement, jamais le secret
# $NEXUS_URL et $NEXUS_CLE viennent de vos variables d'environnement, pas de ce fichier
curl -s "$NEXUS_URL/api/v1/projects/[identifiant-du-projet]/credentials" \
-H "Authorization: Bearer $NEXUS_CLE" \
-H "Accept: application/json"
Route noted in the API inventory on 15 November 2026 (“Project accesses” family). It only reads. The key acts with your permissions: it sees only what you see.
Mistakes to avoid
Paste the password into the chat to save time.
The chat is kept, reread by the team and sent to the AI provider. The secret can’t be taken back, and the vault has been pointless.
Store the access in the vault, then just describe the goal to the agent. It chooses the access and logs in without seeing the secret.
Write the password, or a hint, in the entry’s notes.
The notes are not encrypted and an agent reads them. A hint such as “the same with the year” is enough to guess it.
The notes say what the access is for, who to notify and when to change it. The secret goes in its own field and nowhere else.
Leave the environment on “Not specified”.
The agent chooses by environment: staging to try things out, production to deliver. Without it, the agent hesitates, asks, or uses production for a test.
Always choose Production, Staging or Development. If in doubt, ask the team rather than leaving it blank.
Storing the same access three times, in three projects for the same client.
The day the password changes, two entries are left wrong, and the agent may pick an out-of-date one.
Link the access to the site, the server or the client, once only. Projects that need it reach it through this link.
3 SME situations followed from start to finish: the prompts exactly as they were written, the model answer to aim for, and what was checked before sending.
Example 1
Access for an online cosmetics shop
Julie is a project manager at a four-person communications agency in Mérignac. An organic cosmetics brand from Pessac hands her its online shop. The manager texts her the login for the shop’s back office and for the account that sends order emails.
From two texts to two entries
1Text message received
Two accesses in plain text on Julie’s phone.
2Two entries
Type, environment, link to the shop’s site.
3Question for the agent
Which access for which task, without logging in.
4Test key
A staging key stored, so you never test in production.
Request 1
On screen: Vault, “Add an access”, two entries linked to the shop site.
Model answer
Entry 1. Label: Shop back office, organic cosmetics, production. Type: Account / service. Environment: Production. Linked to: shop site. Address: https://[boutique]/admin. Username: agence-julie. Secret: in its field. Notes: “Account created by the manager on [date] for the agency. Rights: catalogue and orders, not payments.”
Entry 2. Label: Order email sending service, shop, production. Type: API key. Environment: Production. Linked to: shop site. Notes: “Sending-only key, no access to contacts. Created on: [date].”
Julie asks the manager for an account belonging to the agency rather than her own: the day the agency stops working with them, closing that account is enough.
Request 2
The shop’s entries are stored. Without logging in, tell me which access you would use to check that a product appears in the catalogue, and which to test sending an order e-mail.
Model answer
1. Catalogue: “Shop back office, organic cosmetics, production”, read-only. 2. Order email: no production access is suitable for a test. I suggest creating a staging key, or using email capture in development.
The answer avoids a sending test with the production key. Julie creates a test key at the service and has it filed in the vault under Staging.
What was checked before sending
No secrets in the notes or the chat, checked by rereading both entries
An environment specified on every entry
The manager’s text message deleted from Julie’s phone
About ten minutes to store two accesses, and no more texts to dig out or messages to forward to a colleague for the whole project.
Example 2
One private server, two environments
Romain is a freelance developer in Pessac. He hosts his clients’ sites on a virtual private server with OVH, with staging and production on the same machine. Until now, his two SSH accesses were called “VPS” and “VPS 2”.
Two entries, before and after
Before
“VPS”, Not specified
“VPS 2”, Not specified
The agent has to ask
After
SSH deploy, staging
SSH deploy, production
The agent chooses and says so
Request 1
List the vault accesses linked to my server, without their secrets, and tell me which ones could confuse an agent.
Model answer
Two accesses are linked to the server: “VPS” (SSH connection, Not specified) and “VPS 2” (SSH connection, Not specified). They have the same host and no environment: for a staging task, I wouldn’t know which to use. I suggest: “SSH deploy, client server, staging” and “SSH deploy, client server, production”, with the matching environment.
Romain renames the two entries by hand and sets the environment. He keeps this task for himself: it’s his machine.
Request 2
On the architecture firm’s site, check the server logs to find out why the form returns a 500 error. Try staging first, and tell me which access you are using.
Model answer
Access chosen: SSH deploy, client server, staging. Error reproduced: a PHP extension needed for sending attachments is missing. Fix ready for review. Production has not been touched.
Romain reviews the fix, then requests the production release himself.
What was checked before sending
The first line of each answer names the access and its environment
The vault log shows the staging connection, and no mention of “production”
Production is only touched when Romain asks
No more “which of the two?” questions with every task, and the certainty that tests go to staging: a few minutes saved each day, and above all a serious mistake avoided.
Example 3
The accounts of a trading SME
Nathalie is an executive assistant at a building materials trading SME with 25 employees in Libourne. The manager uses Nexus for the business without writing any code. The passwords for supplier accounts are in a spreadsheet shared on the network.
A morning to leave the spreadsheet behind
9 hRequests to the agent
Without the passwords, to get consistent labels.
9 h 30Manual entry
Nathalie pastes each secret into its own field.
10 h 15Note to the manager
What has changed, what is left to do.
11 hSpreadsheet deleted
The old passwords need changing.
Request 1
Here are the headings from our spreadsheet, without the passwords: carrier’s customer area, tile supplier’s portal, phone operator account, access to the health insurer’s site, brochure site back office. For each, suggest the label, type and environment of a vault record.
Model answer
1. Haulier's customer portal, trading, production. Account / service. Production.
2. Tile supplier portal, trading, production. Account / service. Production.
3. Telecoms operator account, trading, production. Account / service. Production.
4. Health insurance provider's site, human resources, production. Account / service. Production.
5. Showcase site back office, production. Account / service. Production.
For each one, fill in the login address. Passwords are entered by hand in the secret field, not in this conversation.
Nathalie enters the five secrets herself, one by one, copying them from the spreadsheet.
Request 2
All five accesses are stored. Write a three-line note for the manager: what has changed, and what still needs doing with the old spreadsheet.
Model answer
The company’s five accounts are stored in the Nexus vault, encrypted, with each site’s address. Every time a password is displayed, a line is added to the log. What remains is to delete the old spreadsheet from the network and change the passwords that had been in it for a long time.
The manager deletes the spreadsheet the same day and asks Nathalie to change the oldest passwords.
What was checked before sending
No password typed in the chat or in the notes
The login address filled in on each entry
The old spreadsheet deleted, not just moved
An hour’s work for five accounts, and the end of a password spreadsheet readable by anyone on the network.
Sandrine sent Malik this e-mail: “Hello Malik, here’s what we have. 1. The FTP at the host: server ftp.[hébergeur].fr, username negoce-se, password [mot de passe 1]. 2. WordPress: https://[ancien-domaine].fr/wp-admin, username sandrine, password [mot de passe 2]. 3. The host’s customer area, for invoices and the domain name: username [numéro client], password [mot de passe 3]. 4. The database, according to the former provider: host [hôte de la base], database wp_negoce, user wp_negoce, password [mot de passe 4]. Let me know if you need anything else. Sandrine.” Store the four accesses in the vault as Malik should.
For each access, choose the type from the eight, and the environment.
Write a label that follows the order service, purpose, site, environment.
Choose what it is linked to: site, server or client.
Write useful notes, with no secrets.
Write the request that checks the agent picks the right access, and what Malik does with the email.
See the answers
The four entries
Label
Type
Environment
Linking
Notes
FTP shared hosting, wine merchant’s old site, production
FTP / SFTP
Production
The former wine merchant’s site
Sent by Sandrine on [date]. Site folder to be confirmed. To be changed after takeover.
WordPress back office, wine merchant’s old site, production
Account / service
Production
The former wine merchant’s site
Sandrine’s account: replace with an admin account belonging to the agency.
Hosting provider client area, wine merchant
Account / service
Production
The client
Invoices and domain name. Not for code: use only when Claire asks.
MySQL database of the old WordPress site, production
Database
Production
The former wine merchant’s site
Database wp_negoce. Information from the former contractor, not verified.
The back office and the client area are both “Account / service”, but not for the same purpose: the first is for the site, the second deals with invoices and the domain name. Linking it to the client rather than the site, and saying so in the notes, stops an agent using it for a coding task.
Check the agent’s choice
Without logging in to anything, tell me which vault access you would use to: 1. read the old site’s wp-config.php file; 2. export the old WordPress database; 3. create an admin account in the back office. For each, give the exact label of the access and its environment.
Roughly what you should get
What to expect: three lines, each with a record's label and “Production”. If the agent hesitates between two records, that label needs to be more precise.
Practise
Three more exercises, from the most guided to the most demanding. The material is provided in full: copy it into your tool, then check your work against the criteria before opening the answers.
Level 1 · guided10 min
Fill in an access entry
Fill in the access entry for the message below: label, type, environment, link, address, notes. State what must on no account go in the notes.
The material to work on
Message from Benoît, cellar master, to Claire:
“For the Visits page, you’ll probably need access to our online booking module. The address is https://[module-de-reservation]/pro, the username is visites@[domaine-du-negociant].fr, and the password is [mot de passe]. It’s the account I use every day, so please don’t change it without telling me.”
Check your work
The type is “Account / service” and the environment “Production”
The label names the service, purpose, client and environment
The login address is filled in
The notes say to notify Benoît before any change, with no password at all
See the answers
Field
Value
Label
Visit booking module, merchant, production
Type
Account / service
Environment
Production
Linking
The client (the wine merchant), then the future site once it exists
Address
https://[module-de-reservation]/pro
ID
visites@[domaine-du-negociant].fr
Notes
Everyday account of Benoît, cellar master. Let Benoît know before any password change.
Have the agent check the record
Review the entry “Visit booking module, merchant, production” without displaying its secret. Tell me whether a colleague or an agent would understand what it is for and when to use it, and what should be clarified.
Roughly what you should get
What to expect: two or three comments on the label, the attachment or the notes, and no secret value quoted.
Level 2 · independent20 min
Rename a disorganised vault
Here is the export of a project’s accesses, without their secrets. For each, suggest a new label, the exact environment and what it is linked to. Flag the records that need urgent correction and why.
The material to work on
Project: website of an amateur rugby club in Bègles
1. “ftp” | FTP / SFTP | Not specified | not linked | notes: “the host’s one”
2. “ftp 2” | FTP / SFTP | Not specified | not linked | notes: “the new one”
3. “wordpress” | Account / service | Production | club website | notes: “admin / Bègles33”
4. “key” | API key | Development | not linked | notes: “ticketing”
5. “database” | Database | Production | club website | notes: “current site database”
6. “SSH Malik” | SSH connection | Staging | agency server | notes: “”
Check your work
Entry 3 is flagged first: a password is written in the notes
Entries 1 and 2 get an environment and a label that tell them apart
Each label follows the order service, purpose, site, environment
Entry 6 drops the first name in favour of the purpose (an access serves the team, not a person)
See the answers
No.
New label
Environment
To do
3
WordPress back office, club site, production
Production
Urgent: clear the notes, store the secret in its field, change the password – it was read in plain text
1
FTP old host, club site, production
Production
Link to the site
2
FTP new host, club site, staging
Pre-production
Confirm the environment with the team
4
Ticketing API key, club site, development
Development
Link to the site, specify the service in the label
5
MySQL database of the current site, club, production
Production
Nothing else
6
SSH deploy, agency server, staging
Pre-production
Remove the first name, write the use in the notes
Ask for a check after the fix
I’ve corrected the six accesses in the club project. List them without their secrets and flag any entry whose notes still contain a password, a hint or a login username, and any entry with no environment.
Roughly what you should get
What to expect: the six records with their type and environment, and the note “no suspicious notes” or the list of those to rework.
The password in entry 3 was readable by anyone with access to the project, and by the agent. Moving it into its field isn’t enough: it has to be changed at the service, then updated on the entry.
Level 3 · demanding case35 min
Preparing the vault for a site takeover
An agency is taking over the website of a Bordeaux accountancy firm. The former provider sent the document below. Design the vault entries (label, type, environment, link, notes), the list of questions to ask before using any of them, and the two requests to the agent: the first to check its choice of access, the second for an initial read-only diagnosis.
The material to work on
Handover document from the former contractor
Hosting: dedicated server at [host], Debian, root access via SSH, password attached in the file “acces.txt”.
Production site: https://[cabinet].fr, WordPress, theme developed for the firm.
Staging: https://preprod.[cabinet].fr, same server, same database as production (to be checked).
Database: local MySQL, root user.
Forms: form plugin with a key from an anti-spam service.
Backups: in-house script, every night, on the same disk.
Domain name: at [registrar], account in the former contractor’s name.
Note: the root account is shared with two other clients of the former contractor.
Check your work
Each access has its own entry, with a real environment rather than “Not specified”
The “acces.txt” file is treated as a plain-text handover, and its secrets must be changed
The shared root account and the database common to both environments are flagged as risks to clear before any work
The domain name account in the former contractor’s name is raised as a question for the client
The diagnosis request forbids any change and any write in production
See the answers
The sheets
Label
Type
Environment
Notes
SSH root, firm’s server, production
SSH connection
Production
Shared by the former provider with other clients: replace with a dedicated account
WordPress back office, firm’s site, production
Account / service
Production
Address https://[cabinet].fr/wp-admin
WordPress back office, firm’s site, staging
Account / service
Pre-production
Database shared with production: check before any test
MySQL database of the firm’s site, production
Database
Production
Root user: replace with a user limited to the database
Form anti-spam API key, firm, production
API key
Production
Service and permissions to be confirmed
Registrar account, firm’s domain
Account / service
Production
In the former contractor’s name: ask the client to request a transfer
Does the firm agree that the passwords received are changed as soon as you take over?
Does staging really use the production database? Until that is cleared up, a test in staging may touch real data.
Who owns the domain name, and when will it be transferred to the firm’s name?
Do backups exist anywhere other than on the same disk?
Read-only diagnosis
Takeover project for the firm’s website.
Read-only, using the vault access you choose and name to me first: check whether staging and production use the same database, and where the nightly backups go.
Do not write, modify, restart or delete anything, in either staging or production.
Give me two short answers, with the file or command that proves them.
Roughly what you should get
What to expect: “Access chosen: SSH root, firm's server, production”, then the two findings with their evidence (the database settings of both sites, the backup script's destination). The vault log has a line marked “production”.
A command on a production machine runs without confirmation and the log marks it “production”: the read-only instruction must be written down.
Every request to the project agent written in the course, including model answers, worked examples and practice exercises, sorted by module and lesson, with filters to find the right one.
For each lesson, the main exercise and the three graded practice exercises with their materials, to do on paper or alongside Nexus; all model answers are gathered at the end.
The course’s worked examples, from the first project to production: the situation, the request as it was written, the agent’s typical answer and what was checked before approving.
All the lessons in a single PDF: objectives, written course with its diagrams, tables and requests, common mistakes, exercise and key takeaways. The practice exercises and answers are in the workbook, the examples in the collection.
Your notes stay on this device; they are not sent anywhere.
A question for the tutor
A result that doesn’t match the model answer, a prompt that gets you nowhere, a case specific to your business: write to us with your prompt and the response you got. A Bonbay Académie trainer replies within 24 working hours, on your case.